Пример #1
0
        public override void Read()
        {
            uint Count = _worldPacket.ReadUInt32();

            Target = _worldPacket.ReadPackedGuid();

            for (int i = 0; i < Count; ++i)
            {
                LootRequest lootRequest = new LootRequest();
                lootRequest.Object     = _worldPacket.ReadPackedGuid();
                lootRequest.LootListID = _worldPacket.ReadUInt8();
                Loot[i] = lootRequest;
            }
        }
Пример #2
0
        public override void Read()
        {
            uint Count = _worldPacket.ReadUInt32();

            for (uint i = 0; i < Count; ++i)
            {
                var loot = new LootRequest()
                {
                    Object     = _worldPacket.ReadPackedGuid(),
                    LootListID = _worldPacket.ReadUInt8()
                };

                Loot.Add(loot);
            }
        }