unity-mcp/Editor/Models/Command.cs

20 lines
460 B
C#
Raw Normal View History

2025-03-18 19:00:50 +08:00
using Newtonsoft.Json.Linq;
2025-03-20 19:24:31 +08:00
namespace UnityMCP.Editor.Models
2025-03-18 19:00:50 +08:00
{
/// <summary>
/// Represents a command received from the MCP client
/// </summary>
public class Command
{
/// <summary>
/// The type of command to execute
/// </summary>
public string type { get; set; }
/// <summary>
/// The parameters for the command
/// </summary>
public JObject @params { get; set; }
}
}