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