Quasar/Server/Core/Packets/ServerPackets/GetDirectory.cs

26 lines
499 B
C#
Raw Normal View History

2014-07-08 12:58:53 +00:00
using ProtoBuf;
using xServer.Core.Networking;
2014-07-08 12:58:53 +00:00
2015-01-13 18:29:11 +00:00
namespace xServer.Core.Packets.ServerPackets
2014-07-08 12:58:53 +00:00
{
[ProtoContract]
2015-07-14 17:00:31 +00:00
public class GetDirectory : IPacket
2014-07-08 12:58:53 +00:00
{
[ProtoMember(1)]
public string RemotePath { get; set; }
2015-07-14 17:00:31 +00:00
public GetDirectory()
{
}
2015-07-14 17:00:31 +00:00
public GetDirectory(string remotepath)
2014-07-08 12:58:53 +00:00
{
this.RemotePath = remotepath;
}
public void Execute(Client client)
{
client.Send(this);
2014-07-08 12:58:53 +00:00
}
}
}