void PacketInterface.decode(byte[] packet, ref int offset)
 {
     clientId_ = PacketUtil.decodeUInt64(packet, ref offset);
     id_       = PacketUtil.decodestring(packet, ref offset);
     password_ = PacketUtil.decodestring(packet, ref offset);
 }
 void PacketInterface.decode(byte[] packet, ref int offset)
 {
     clientId_     = PacketUtil.decodeUInt64(packet, ref offset);
     oidAccountId_ = PacketUtil.decodeUInt64(packet, ref offset);
 }
예제 #3
0
 void Packetinterface.decode(byte[] packet, ref int offset)
 {
     clientId_ = PacketUtil.decodeUInt64(packet, ref offset);
     name_     = PacketUtil.decodestring(packet, ref offset);
     result_   = PacketUtil.decodeByte(packet, ref offset);
 }