예제 #1
0
 protected override void ReadData(MsgDataStream stream)
 {
     base.ReadData(stream);
     ErrCode  = stream.ReadInt16();
     PCoins   = stream.ReadInt32();
     ECoins   = stream.ReadInt32();
     PGifts   = stream.ReadInt32();
     PTickets = stream.ReadInt32();
 }
예제 #2
0
 protected override void ReadData(MsgDataStream stream)
 {
     base.ReadData(stream);
     GPIVersion        = stream.ReadInt32();
     ProductNum        = stream.ReadInt32();
     DeviceID          = stream.ReadByteArray(16);
     GamePortCount     = stream.ReadByte();
     CurrGamePortIndex = stream.ReadByte();
     DeviceType        = stream.ReadInt16();
     if (GPIVersion > 116)
     {
         SoftVer = stream.ReadInt16();
     }
 }
예제 #3
0
 protected override void ReadData(MsgDataStream stream)
 {
     base.ReadData(stream);
     ProductNum = stream.ReadInt32();
     DeviceID   = stream.ReadByteArray(16);
     DeviceType = stream.ReadInt16();
 }
예제 #4
0
 protected override void ReadData(MsgDataStream stream)
 {
     base.ReadData(stream);
     BoxNum   = stream.ReadInt16();
     Price    = stream.ReadInt32();
     OrderNum = stream.ReadHex(16);
     TimeOut  = stream.ReadByte();
 }
예제 #5
0
 protected override void ReadData(MsgDataStream stream)
 {
     base.ReadData(stream);
     TransID  = stream.ReadInt16();
     OutGift  = stream.ReadInt32();
     GiftType = stream.ReadByte();
     GiftPort = stream.ReadByte();
 }
예제 #6
0
 protected override void ReadData(MsgDataStream stream)
 {
     base.ReadData(stream);
     ErrCode   = stream.ReadInt16();
     ItemID    = stream.ReadInt16();
     ItemValue = stream.ReadInt32();
     Display   = stream.ReadByte();
 }
예제 #7
0
        protected override void ReadData(MsgDataStream stream)
        {
            base.ReadData(stream);
            ErrCode  = stream.ReadInt16();
            ItemID   = stream.ReadInt16();
            Value    = stream.ReadInt32();
            MaxValue = stream.ReadInt32();
            MinValue = stream.ReadInt32();
            byte[] bts = stream.ReadByteArray(32);
            ItemName = System.Text.Encoding.Unicode.GetString(bts).Replace("\0", "");
            int discribelen = stream.ReadByte();

            if (discribelen > 0)
            {
                byte[] bts2 = stream.ReadByteArray(discribelen);
                ItemDiscribe = System.Text.Encoding.Unicode.GetString(bts2).Replace("\0", "");
            }
        }
예제 #8
0
 protected override void ReadData(MsgDataStream stream)
 {
     base.ReadData(stream);
     ItemID    = stream.ReadInt16();
     ItemValue = stream.ReadInt32();
 }