Hi Loic,

 

Thanks for the advice.

Was wondering, when unpacking packetpokerRake, is this the correct format?
(according to a.as?)

Should GameId not be unpacked before the rake amount?

 

Thanks in advance,

 

Michael

 

// code for POKER_RAKE (('value', 0, 'I'), ('game_id', 0, 'I'))

public class PacketPokerRake extends Packet

{

      public var value:int;

      public var game_id:int;

 

      public override function unpack():void

      {

            super.unpack();

            this.value = bytes.readInt();

            this.game_id = bytes.readInt();

      }

}

 

 

ThoughtFaqtory

Michael Oschmann

Flex Developer

mjoschmann <mailto:[EMAIL PROTECTED]> @thoughtfaqtory.com

Tel: +27 21 559-4851

Fax: +27 21 558-0692

Mobile: +27 825781777

 <http://www.thoughtfaqtory.com> http://www.thoughtfaqtory.com

 

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

Reply via email to