Exemplo n.º 1
0
 public void Decode(byte[] packet, ref int offset)
 {
     Name = PacketUtil.DecodeString(packet, ref offset);
     Text = PacketUtil.DecodeString(packet, ref offset);
 }
Exemplo n.º 2
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);
 }
Exemplo n.º 3
0
 public void Decode(byte[] packet, ref int offset)
 {
     Ip   = PacketUtil.DecodeString(packet, ref offset);
     Port = PacketUtil.DecodeUInt32(packet, ref offset);
     Name = PacketUtil.DecodeString(packet, ref offset);
 }
Exemplo n.º 4
0
 public void Decode(byte[] packet, ref int offset)
 {
     ClientId = PacketUtil.DecodeUInt64(packet, ref offset);
     Id       = PacketUtil.DecodeString(packet, ref offset);
     Password = PacketUtil.DecodeString(packet, ref offset);
 }
Exemplo n.º 5
0
 public void Decode(byte[] packet, ref int offset)
 {
     Id       = PacketUtil.DecodeString(packet, ref offset);
     Password = PacketUtil.DecodeString(packet, ref offset);
 }