Files
ShrinkCommand.Integration.N…/ShrinkNetworkCommandContracts.cs
cneicy f9b05b4178
Publish UPM package / publish (push) Failing after 1s
chore: initialize standalone UPM package
2026-08-26 02:49:49 +08:00

21 lines
819 B
C#

using ShrinkNetwork;
namespace ShrinkCommand.Integration
{
[ShrinkNetworkMessage(1501, ShrinkNetworkCommandBridge.ExecuteRoute)]
public sealed class ShrinkNetworkCommandRequest : IShrinkNetworkRequest
{
public string ServiceName { get; set; } = ShrinkCommandConstants.DefaultServiceName;
public string CommandLine { get; set; } = string.Empty;
public string ClientLabel { get; set; } = string.Empty;
}
[ShrinkNetworkMessage(1502, "command/execute_response")]
public sealed class ShrinkNetworkCommandResponse : ShrinkRpcResponseBase
{
public string ServiceName { get; set; } = ShrinkCommandConstants.DefaultServiceName;
public string CommandLine { get; set; } = string.Empty;
public string OutputMessage { get; set; } = string.Empty;
}
}