示例#1
0
 void Packetinterface.decode(byte[] packet, ref int offset)
 {
     oidAccountId_ = PacketUtil.decodeUInt64(packet, ref offset);
     name_         = PacketUtil.decodestring(packet, ref offset);
     pos_X         = PacketUtil.decodefloat(packet, ref offset);
     pos_Y         = PacketUtil.decodefloat(packet, ref offset);
 }
示例#2
0
 void Packetinterface.decode(byte[] packet, ref int offset)
 {
     clientId_ = PacketUtil.decodeUInt64(packet, ref offset);
     name_     = PacketUtil.decodestring(packet, ref offset);
     pointX_   = PacketUtil.decodefloat(packet, ref offset);
     pointY_   = PacketUtil.decodefloat(packet, ref offset);
     result_   = PacketUtil.decodeByte(packet, ref offset);
 }
示例#3
0
 void Packetinterface.decode(byte[] packet, ref int offset)
 {
     ip_     = PacketUtil.decodestring(packet, ref offset);
     port_   = PacketUtil.decodeUInt32(packet, ref offset);
     name_   = PacketUtil.decodestring(packet, ref offset);
     pointX_ = PacketUtil.decodefloat(packet, ref offset);
     pointY_ = PacketUtil.decodefloat(packet, ref offset);
 }
 void PacketInterface.decode(byte[] packet, ref int offset)
 {
     name_ = PacketUtil.decodestring(packet, ref offset);
     text_ = PacketUtil.decodestring(packet, ref offset);
 }
 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);
 }
示例#6
0
 void Packetinterface.decode(byte[] packet, ref int offset)
 {
     id_       = PacketUtil.decodestring(packet, ref offset);
     password_ = PacketUtil.decodestring(packet, ref offset);
 }
示例#7
0
 void Packetinterface.decode(byte[] packet, ref int offset)
 {
     name_ = PacketUtil.decodestring(packet, ref offset);
     pos_X = PacketUtil.decodefloat(packet, ref offset);
     pos_Y = PacketUtil.decodefloat(packet, ref offset);
 }