예제 #1
0
 public void Decode(byte[] packet, ref int offset)
 {
     ClientId = PacketUtil.DecodeUInt64(packet, ref offset);
     Name     = PacketUtil.DecodeString(packet, ref offset);
     Result   = PacketUtil.DecodeByte(packet, ref offset);
 }
예제 #2
0
 public void Decode(byte[] packet, ref int offset)
 {
     ClientId     = PacketUtil.DecodeUInt64(packet, ref offset);
     OidAccountId = PacketUtil.DecodeUInt64(packet, ref offset);
     Result       = PacketUtil.DecodeByte(packet, ref offset);
 }