2014-07-08 12:58:53 +00:00
|
|
|
|
using ProtoBuf;
|
|
|
|
|
|
2015-01-13 18:29:11 +00:00
|
|
|
|
namespace xClient.Core.Packets.ClientPackets
|
2014-07-08 12:58:53 +00:00
|
|
|
|
{
|
|
|
|
|
[ProtoContract]
|
|
|
|
|
public class DrivesResponse : IPacket
|
|
|
|
|
{
|
|
|
|
|
[ProtoMember(1)]
|
|
|
|
|
public string[] Drives { get; set; }
|
|
|
|
|
|
2015-04-21 18:27:52 +00:00
|
|
|
|
public DrivesResponse()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2014-07-08 12:58:53 +00:00
|
|
|
|
public DrivesResponse(string[] drives)
|
|
|
|
|
{
|
|
|
|
|
this.Drives = drives;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void Execute(Client client)
|
|
|
|
|
{
|
|
|
|
|
client.Send<DrivesResponse>(this);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|