2015-04-04 15:22:20 +00:00
|
|
|
|
using ProtoBuf;
|
2015-06-05 21:07:37 +00:00
|
|
|
|
using xServer.Core.Networking;
|
2015-04-04 15:22:20 +00:00
|
|
|
|
|
|
|
|
|
namespace xServer.Core.Packets.ServerPackets
|
|
|
|
|
{
|
|
|
|
|
[ProtoContract]
|
2015-07-14 17:00:31 +00:00
|
|
|
|
public class DoDownloadFileCancel : IPacket
|
2015-04-04 15:22:20 +00:00
|
|
|
|
{
|
|
|
|
|
[ProtoMember(1)]
|
|
|
|
|
public int ID { get; set; }
|
|
|
|
|
|
2015-07-14 17:00:31 +00:00
|
|
|
|
public DoDownloadFileCancel()
|
2015-04-21 18:27:52 +00:00
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2015-07-14 17:00:31 +00:00
|
|
|
|
public DoDownloadFileCancel(int id)
|
2015-04-04 15:22:20 +00:00
|
|
|
|
{
|
|
|
|
|
this.ID = id;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void Execute(Client client)
|
|
|
|
|
{
|
2015-05-19 01:01:38 +00:00
|
|
|
|
client.Send(this);
|
2015-04-04 15:22:20 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
2015-04-21 18:27:52 +00:00
|
|
|
|
}
|