mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-05-30 20:24:27 +00:00
feat[csharp]: csharp support compatible field
This commit is contained in:
@@ -30,7 +30,7 @@ namespace zfoocs
|
||||
|
||||
public static void Write(ByteBuffer buffer, object packet)
|
||||
{
|
||||
var protocolId = packet.ProtocolId();
|
||||
var protocolId = protocolIdMap[packet.GetType()];
|
||||
// 写入协议号
|
||||
buffer.WriteShort(protocolId);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user