virtualx-engine/modules/mono/editor/GodotTools/GodotTools.IdeConnection/Message.cs

22 lines
465 B
C#
Raw Normal View History

using System.Linq;
namespace GodotTools.IdeConnection
{
public struct Message
{
public string Id { get; set; }
public string[] Arguments { get; set; }
public Message(string id, params string[] arguments)
{
Id = id;
Arguments = arguments;
}
public override string ToString()
{
return $"(Id: '{Id}', Arguments: '{string.Join(",", Arguments)}')";
}
}
}