Quasar/Client/Core/Packets/ServerPackets/DownloadFileCanceled.cs

25 lines
476 B
C#

using ProtoBuf;
namespace xClient.Core.Packets.ServerPackets
{
[ProtoContract]
public class DownloadFileCanceled : IPacket
{
[ProtoMember(1)]
public int ID { get; set; }
public DownloadFileCanceled()
{
}
public DownloadFileCanceled(int id)
{
this.ID = id;
}
public void Execute(Client client)
{
client.Send<DownloadFileCanceled>(this);
}
}
}