initial commit
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
using System.IO;
|
||||
|
||||
namespace Crysome.Common.Network.Packets.Server;
|
||||
|
||||
public class DeleteFileRequestPacket : IPacket
|
||||
{
|
||||
public string Path { get; set; }
|
||||
|
||||
public DeleteFileRequestPacket()
|
||||
{
|
||||
}
|
||||
|
||||
public DeleteFileRequestPacket(string path)
|
||||
{
|
||||
Path = path;
|
||||
}
|
||||
|
||||
public void Write(BinaryWriter w)
|
||||
{
|
||||
w.Write(Path ?? "");
|
||||
}
|
||||
|
||||
public void Read(BinaryReader r)
|
||||
{
|
||||
Path = r.ReadString();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user