This commit is contained in:
CortexCore
2024-11-03 16:42:23 +08:00
commit b125894cc3
5904 changed files with 1070129 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
using System.IO;
namespace BITKit.Net
{
public class NetCommand : NetMessageReader<NetCommandType>
{
public override NetCommandType ReadBinary(BinaryReader reader)
{
return (NetCommandType)reader.ReadByte();
}
public override void WriteBinary(BinaryWriter writer, NetCommandType value)
{
writer.Write((byte)value);
}
}
}