Hi Loic,

 

With PacketpokerChat, am I correct in saying that the following, is the
manner in which to unpack:

 

 

public override function unpack(b:ByteArray = null):ByteArray

{

      this.serial = b.readUnsignedInt();

this.gameId = b.readUnsignedInt();

      this.messageSize = b.readShort();

      this.message = b.readUTFBytes(this.messageSize);

 

      return b;   

}

 

 

?????

 

As far as I can understand, you don't need the reading of the serial as this
packet is sent to all players?

_______________________________________________
Pokersource-users mailing list
[email protected]
https://mail.gna.org/listinfo/pokersource-users

Reply via email to