Files
Quasar/Server/Core/Packets/ClientPackets/ShellCommandResponse.cs
T
2015-01-13 19:29:11 +01:00

22 lines
481 B
C#

using ProtoBuf;
namespace xServer.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);
}
}
}