mirror of https://github.com/quasar/Quasar.git
23 lines
460 B
C#
23 lines
460 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);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|