protected override void ReadData(MsgDataStream stream) { base.ReadData(stream); TransID = stream.ReadInt16(); OutGift = stream.ReadInt32(); GiftType = stream.ReadByte(); GiftPort = stream.ReadByte(); }
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(); }
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(); } }
protected override void ReadData(MsgDataStream stream) { base.ReadData(stream); TransID = stream.ReadInt16(); Coins = stream.ReadInt16(); CoinType = stream.ReadByte(); }
protected override void ReadData(MsgDataStream stream) { base.ReadData(stream); CoinsPerTimes = stream.ReadByte(); WinCoins = stream.ReadInt16(); WinTicket = stream.ReadInt16(); }
protected override void ReadData(MsgDataStream stream) { base.ReadData(stream); BoxNum = stream.ReadInt16(); Price = stream.ReadInt32(); OrderNum = stream.ReadHex(16); TimeOut = stream.ReadByte(); }
protected override void ReadData(MsgDataStream stream) { base.ReadData(stream); ErrCode = stream.ReadInt16(); ItemID = stream.ReadInt16(); ItemValue = stream.ReadInt32(); Display = stream.ReadByte(); }
protected override void ReadData(MsgDataStream stream) { base.ReadData(stream); State = stream.ReadByte(); RemainCoin = stream.ReadInt16(); RemainSec = stream.ReadInt16(); ErrCode = stream.ReadInt16(); }
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(); } }
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]); } }
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", ""); } }
protected override void ReadData(MsgDataStream stream) { base.ReadData(stream); CoinsPerTimes = stream.ReadByte(); }
protected override void ReadData(MsgDataStream stream) { base.ReadData(stream); TransID = stream.ReadInt16(); Action = stream.ReadByte(); }