![]() |
TrinityCore
|
#include "Define.h"#include "ConditionMgr.h"#include "ObjectGuid.h"#include "SharedDefines.h"#include <list>#include <vector>
Include dependency graph for LootMgr.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| struct | LootStoreItem |
| class | LootStore |
| class | LootTemplate |
Typedefs | |
| typedef std::list< LootStoreItem * > | LootStoreItemList |
| typedef std::unordered_map< uint32, LootTemplate * > | LootTemplateMap |
| typedef std::set< uint32 > | LootIdSet |
Functions | |
| TC_GAME_API void | LoadLootTemplates_Creature () |
| TC_GAME_API void | LoadLootTemplates_Fishing () |
| TC_GAME_API void | LoadLootTemplates_Gameobject () |
| TC_GAME_API void | LoadLootTemplates_Item () |
| TC_GAME_API void | LoadLootTemplates_Mail () |
| TC_GAME_API void | LoadLootTemplates_Milling () |
| TC_GAME_API void | LoadLootTemplates_Pickpocketing () |
| TC_GAME_API void | LoadLootTemplates_Skinning () |
| TC_GAME_API void | LoadLootTemplates_Disenchant () |
| TC_GAME_API void | LoadLootTemplates_Prospecting () |
| TC_GAME_API void | LoadLootTemplates_Spell () |
| TC_GAME_API void | LoadLootTemplates_Reference () |
| TC_GAME_API void | LoadLootTables () |
| typedef std::list<LootStoreItem*> LootStoreItemList |
| typedef std::unordered_map<uint32, LootTemplate*> LootTemplateMap |
| TC_GAME_API void LoadLootTables | ( | ) |
Definition at line 1149 of file LootMgr.cpp.
References LoadLootTemplates_Creature(), LoadLootTemplates_Disenchant(), LoadLootTemplates_Fishing(), LoadLootTemplates_Gameobject(), LoadLootTemplates_Item(), LoadLootTemplates_Mail(), LoadLootTemplates_Milling(), LoadLootTemplates_Pickpocketing(), LoadLootTemplates_Prospecting(), LoadLootTemplates_Reference(), LoadLootTemplates_Skinning(), and LoadLootTemplates_Spell().
Referenced by reload_commandscript::HandleReloadAllLootCommand(), and World::SetInitialWorldSettings().
| TC_GAME_API void LoadLootTemplates_Creature | ( | ) |
Definition at line 780 of file LootMgr.cpp.
References getMSTime(), GetMSTimeDiffToNow(), LootStore::LoadAndCollectLootIds(), LootTemplates_Creature, PLAYER_CORPSE_LOOT_ENTRY, LootStore::ReportNonExistingId(), LootStore::ReportUnusedIds(), sObjectMgr, and TC_LOG_INFO.
Referenced by reload_commandscript::HandleReloadLootTemplatesCreatureCommand(), and LoadLootTables().
| TC_GAME_API void LoadLootTemplates_Disenchant | ( | ) |
Definition at line 817 of file LootMgr.cpp.
References getMSTime(), GetMSTimeDiffToNow(), LootStore::LoadAndCollectLootIds(), LootTemplates_Disenchant, LootStore::ReportNonExistingId(), LootStore::ReportUnusedIds(), sObjectMgr, and TC_LOG_INFO.
Referenced by reload_commandscript::HandleReloadLootTemplatesDisenchantCommand(), and LoadLootTables().
| TC_GAME_API void LoadLootTemplates_Fishing | ( | ) |
Definition at line 850 of file LootMgr.cpp.
References getMSTime(), GetMSTimeDiffToNow(), LootStore::LoadAndCollectLootIds(), LootTemplates_Fishing, LootStore::ReportUnusedIds(), sAreaTableStore, and TC_LOG_INFO.
Referenced by reload_commandscript::HandleReloadLootTemplatesFishingCommand(), and LoadLootTables().
| TC_GAME_API void LoadLootTemplates_Gameobject | ( | ) |
Definition at line 873 of file LootMgr.cpp.
References getMSTime(), GetMSTimeDiffToNow(), LootStore::LoadAndCollectLootIds(), LootTemplates_Gameobject, LootStore::ReportNonExistingId(), LootStore::ReportUnusedIds(), sObjectMgr, and TC_LOG_INFO.
Referenced by reload_commandscript::HandleReloadLootTemplatesGameobjectCommand(), and LoadLootTables().
| TC_GAME_API void LoadLootTemplates_Item | ( | ) |
Definition at line 907 of file LootMgr.cpp.
References getMSTime(), GetMSTimeDiffToNow(), ITEM_FLAG_HAS_LOOT, LootStore::LoadAndCollectLootIds(), LootTemplates_Item, LootStore::ReportUnusedIds(), sObjectMgr, and TC_LOG_INFO.
Referenced by reload_commandscript::HandleReloadLootTemplatesItemCommand(), and LoadLootTables().
| TC_GAME_API void LoadLootTemplates_Mail | ( | ) |
Definition at line 1023 of file LootMgr.cpp.
References getMSTime(), GetMSTimeDiffToNow(), LootStore::LoadAndCollectLootIds(), LootTemplates_Mail, LootStore::ReportUnusedIds(), sMailTemplateStore, and TC_LOG_INFO.
Referenced by reload_commandscript::HandleReloadLootTemplatesMailCommand(), and LoadLootTables().
| TC_GAME_API void LoadLootTemplates_Milling | ( | ) |
Definition at line 931 of file LootMgr.cpp.
References getMSTime(), GetMSTimeDiffToNow(), ITEM_FLAG_IS_MILLABLE, LootStore::LoadAndCollectLootIds(), LootTemplates_Milling, LootStore::ReportUnusedIds(), sObjectMgr, and TC_LOG_INFO.
Referenced by reload_commandscript::HandleReloadLootTemplatesMillingCommand(), and LoadLootTables().
| TC_GAME_API void LoadLootTemplates_Pickpocketing | ( | ) |
Definition at line 960 of file LootMgr.cpp.
References getMSTime(), GetMSTimeDiffToNow(), LootStore::LoadAndCollectLootIds(), LootTemplates_Pickpocketing, LootStore::ReportNonExistingId(), LootStore::ReportUnusedIds(), sObjectMgr, and TC_LOG_INFO.
Referenced by reload_commandscript::HandleReloadLootTemplatesPickpocketingCommand(), and LoadLootTables().
| TC_GAME_API void LoadLootTemplates_Prospecting | ( | ) |
Definition at line 994 of file LootMgr.cpp.
References getMSTime(), GetMSTimeDiffToNow(), ITEM_FLAG_IS_PROSPECTABLE, LootStore::LoadAndCollectLootIds(), LootTemplates_Prospecting, LootStore::ReportUnusedIds(), sObjectMgr, and TC_LOG_INFO.
Referenced by reload_commandscript::HandleReloadLootTemplatesProspectingCommand(), and LoadLootTables().
| TC_GAME_API void LoadLootTemplates_Reference | ( | ) |
Definition at line 1121 of file LootMgr.cpp.
References LootStore::CheckLootRefs(), getMSTime(), GetMSTimeDiffToNow(), LootStore::LoadAndCollectLootIds(), LootTemplates_Creature, LootTemplates_Disenchant, LootTemplates_Fishing, LootTemplates_Gameobject, LootTemplates_Item, LootTemplates_Mail, LootTemplates_Milling, LootTemplates_Pickpocketing, LootTemplates_Prospecting, LootTemplates_Reference, LootTemplates_Skinning, LootStore::ReportUnusedIds(), and TC_LOG_INFO.
Referenced by reload_commandscript::HandleReloadLootTemplatesReferenceCommand(), and LoadLootTables().
| TC_GAME_API void LoadLootTemplates_Skinning | ( | ) |
Definition at line 1047 of file LootMgr.cpp.
References getMSTime(), GetMSTimeDiffToNow(), LootStore::LoadAndCollectLootIds(), LootTemplates_Skinning, LootStore::ReportNonExistingId(), LootStore::ReportUnusedIds(), sObjectMgr, and TC_LOG_INFO.
Referenced by reload_commandscript::HandleReloadLootTemplatesSkinningCommand(), and LoadLootTables().
| TC_GAME_API void LoadLootTemplates_Spell | ( | ) |
Definition at line 1081 of file LootMgr.cpp.
References getMSTime(), GetMSTimeDiffToNow(), SpellInfo::HasAttribute(), SpellInfo::Id, SpellInfo::IsLootCrafting(), LootStore::LoadAndCollectLootIds(), LootTemplates_Spell, LootStore::ReportNonExistingId(), LootStore::ReportUnusedIds(), SPELL_ATTR0_NOT_SHAPESHIFT, SPELL_ATTR0_TRADESPELL, sSpellMgr, and TC_LOG_INFO.
Referenced by reload_commandscript::HandleReloadLootTemplatesSpellCommand(), and LoadLootTables().
|
extern |
Referenced by LoadLootTemplates_Creature(), and LoadLootTemplates_Reference().
|
extern |
Referenced by LoadLootTemplates_Disenchant(), and LoadLootTemplates_Reference().
|
extern |
Referenced by LoadLootTemplates_Fishing(), and LoadLootTemplates_Reference().
|
extern |
Referenced by LoadLootTemplates_Gameobject(), and LoadLootTemplates_Reference().
|
extern |
Referenced by LoadLootTemplates_Item(), and LoadLootTemplates_Reference().
|
extern |
Referenced by LoadLootTemplates_Mail(), and LoadLootTemplates_Reference().
|
extern |
Referenced by LoadLootTemplates_Milling(), and LoadLootTemplates_Reference().
|
extern |
Referenced by LoadLootTemplates_Pickpocketing(), and LoadLootTemplates_Reference().
|
extern |
Referenced by LoadLootTemplates_Prospecting(), and LoadLootTemplates_Reference().
|
extern |
|
extern |
Referenced by LoadLootTemplates_Reference(), and LoadLootTemplates_Skinning().
|
extern |
Referenced by LoadLootTemplates_Spell().