Files
Quasar/Client/Core/Packets/ServerPackets/DoDownloadFile.cs
T
MaxXor 23cafeb2f3 Switched from ProtoBuff to NetSerializer
NetSerializer should be slightly faster than Protocol Buffers
2015-08-08 16:21:09 +02:00

28 lines
548 B
C#

using System;
using xClient.Core.Networking;
namespace xClient.Core.Packets.ServerPackets
{
[Serializable]
public class DoDownloadFile : IPacket
{
public string RemotePath { get; set; }
public int ID { get; set; }
public DoDownloadFile()
{
}
public DoDownloadFile(string remotepath, int id)
{
this.RemotePath = remotepath;
this.ID = id;
}
public void Execute(Client client)
{
client.Send(this);
}
}
}