mirror of
https://github.com/quasar/Quasar.git
synced 2026-10-23 08:48:51 +08:00
31 lines
626 B
C#
31 lines
626 B
C#
using ProtoBuf;
|
|
using xClient.Core.Networking;
|
|
using xClient.Enums;
|
|
|
|
namespace xClient.Core.Packets.ServerPackets
|
|
{
|
|
[ProtoContract]
|
|
public class DoPathDelete : IPacket
|
|
{
|
|
[ProtoMember(1)]
|
|
public string Path { get; set; }
|
|
|
|
[ProtoMember(2)]
|
|
public PathType PathType { get; set; }
|
|
|
|
public DoPathDelete()
|
|
{
|
|
}
|
|
|
|
public DoPathDelete(string path, PathType pathtype)
|
|
{
|
|
this.Path = path;
|
|
this.PathType = pathtype;
|
|
}
|
|
|
|
public void Execute(Client client)
|
|
{
|
|
client.Send(this);
|
|
}
|
|
}
|
|
} |