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

23 lines
454 B
C#

using ProtoBuf;
namespace xServer.Core.Packets.ServerPackets
{
[ProtoContract]
public class ShellCommand : IPacket
{
[ProtoMember(1)]
public string Command { get; set; }
public ShellCommand() { }
public ShellCommand(string command)
{
this.Command = command;
}
public void Execute(Client client)
{
client.Send<ShellCommand>(this);
}
}
}