aboutsummaryrefslogtreecommitdiff
path: root/src/game/LootMgr.h
diff options
context:
space:
mode:
authormegamage <none@none>2009-02-08 21:54:13 -0600
committermegamage <none@none>2009-02-08 21:54:13 -0600
commit2bd90deeedb6282eab9dfce650fbaf2bda451ee8 (patch)
tree26a6af03fd6757b52002e56469a728f75a42abc8 /src/game/LootMgr.h
parent11b9bd42f76db238af914112bdc065fc8293451d (diff)
[7239] Support multiply items loot and not normal loot items in Player::AutoStoreLoot. Author: VladimirMangos
Use this function in more cases and simplify and fix some related code. --HG-- branch : trunk
Diffstat (limited to 'src/game/LootMgr.h')
-rw-r--r--src/game/LootMgr.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/LootMgr.h b/src/game/LootMgr.h
index 077d42a1e17..8f54bb3bee1 100644
--- a/src/game/LootMgr.h
+++ b/src/game/LootMgr.h
@@ -224,7 +224,6 @@ struct Loot
QuestItemMap const& GetPlayerNonQuestNonFFAConditionalItems() const { return PlayerNonQuestNonFFAConditionalItems; }
std::vector<LootItem> items;
- std::vector<LootItem> quest_items;
uint32 gold;
uint8 unlootedCount;
@@ -275,6 +274,7 @@ struct Loot
void AddItem(LootStoreItem const & item);
LootItem* LootItemInSlot(uint32 lootslot, Player* player, QuestItem** qitem = NULL, QuestItem** ffaitem = NULL, QuestItem** conditem = NULL);
+ uint32 GetMaxSlotInLootFor(Player* player) const;
private:
void FillNotNormalLootFor(Player* player);
@@ -282,6 +282,7 @@ struct Loot
QuestItemList* FillQuestLoot(Player* player);
QuestItemList* FillNonQuestNonFFAConditionalLoot(Player* player);
+ std::vector<LootItem> quest_items;
std::set<uint64> PlayersLooting;
QuestItemMap PlayerQuestItems;
QuestItemMap PlayerFFAItems;