Example #1
0
        public override void Read()
        {
            uint hotfixCount = _worldPacket.ReadUInt32();

            //if (hotfixCount > Global.DB2Mgr.GetHotfixData().Count)
            //throw PacketArrayMaxCapacityException(hotfixCount, sDB2Manager.GetHotfixData().size());

            for (var i = 0; i < hotfixCount; ++i)
            {
                Hotfixes.Add(_worldPacket.ReadUInt64());
            }
        }
Example #2
0
        public override void Read()
        {
            ClientBuild = _worldPacket.ReadUInt32();
            DataBuild   = _worldPacket.ReadUInt32();

            uint hotfixCount = _worldPacket.ReadUInt32();

            for (var i = 0; i < hotfixCount; ++i)
            {
                Hotfixes.Add(_worldPacket.ReadInt32());
            }
        }
        public override void Read()
        {
            ClientBuild = _worldPacket.ReadUInt32();
            DataBuild   = _worldPacket.ReadUInt32();

            uint hotfixCount = _worldPacket.ReadUInt32();

            for (var i = 0; i < hotfixCount; ++i)
            {
                HotfixRecord hotfixRecord = new HotfixRecord();
                hotfixRecord.Read(_worldPacket);
                Hotfixes.Add(hotfixRecord);
            }
        }