Esempio n. 1
0
 protected override void ReadData(MsgDataStream stream)
 {
     base.ReadData(stream);
     TransID  = stream.ReadInt16();
     OutGift  = stream.ReadInt32();
     GiftType = stream.ReadByte();
     GiftPort = stream.ReadByte();
 }
Esempio n. 2
0
 protected override void ReadData(MsgDataStream stream)
 {
     base.ReadData(stream);
     CoinsPerTimes = stream.ReadByte();
     GameSec       = stream.ReadByte();
     LowPower      = stream.ReadByte();
     HightPower    = stream.ReadByte();
     WinCoins      = stream.ReadInt16();
     WinGifts      = stream.ReadInt16();
 }
Esempio n. 3
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();
     }
 }
Esempio n. 4
0
 protected override void ReadData(MsgDataStream stream)
 {
     base.ReadData(stream);
     TransID  = stream.ReadInt16();
     Coins    = stream.ReadInt16();
     CoinType = stream.ReadByte();
 }
Esempio n. 5
0
 protected override void ReadData(MsgDataStream stream)
 {
     base.ReadData(stream);
     CoinsPerTimes = stream.ReadByte();
     WinCoins      = stream.ReadInt16();
     WinTicket     = stream.ReadInt16();
 }
Esempio n. 6
0
 protected override void ReadData(MsgDataStream stream)
 {
     base.ReadData(stream);
     BoxNum   = stream.ReadInt16();
     Price    = stream.ReadInt32();
     OrderNum = stream.ReadHex(16);
     TimeOut  = stream.ReadByte();
 }
Esempio n. 7
0
 protected override void ReadData(MsgDataStream stream)
 {
     base.ReadData(stream);
     ErrCode   = stream.ReadInt16();
     ItemID    = stream.ReadInt16();
     ItemValue = stream.ReadInt32();
     Display   = stream.ReadByte();
 }
Esempio n. 8
0
 protected override void ReadData(MsgDataStream stream)
 {
     base.ReadData(stream);
     State      = stream.ReadByte();
     RemainCoin = stream.ReadInt16();
     RemainSec  = stream.ReadInt16();
     ErrCode    = stream.ReadInt16();
 }
Esempio n. 9
0
        protected override void ReadData(MsgDataStream stream)
        {
            base.ReadData(stream);
            ErrCode = stream.ReadInt16();
            int MenuItemscount = stream.ReadByte();

            MenuItems = new int[MenuItemscount];
            for (int i = 0; i < MenuItemscount; i++)
            {
                MenuItems[i] = stream.ReadInt16();
            }
        }
Esempio n. 10
0
        protected override void ReadData(MsgDataStream stream)
        {
            base.ReadData(stream);
            TransID = stream.ReadInt16();
            int winlistlen = stream.ReadByte();

            byte[] list = stream.ReadByteArray(winlistlen);
            WinList = new List <int>();
            for (int i = 0; i < winlistlen; i++)
            {
                WinList.Add(list[i]);
            }
        }
Esempio n. 11
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", "");
            }
        }
Esempio n. 12
0
 protected override void ReadData(MsgDataStream stream)
 {
     base.ReadData(stream);
     CoinsPerTimes = stream.ReadByte();
 }
Esempio n. 13
0
 protected override void ReadData(MsgDataStream stream)
 {
     base.ReadData(stream);
     TransID = stream.ReadInt16();
     Action  = stream.ReadByte();
 }