![]() |
AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "ByteBuffer.h"#include "ConditionMgr.h"#include "ObjectGuid.h"#include "RefMgr.h"#include "SharedDefines.h"#include <list>#include <map>#include <unordered_map>#include <vector>Go to the source code of this file.
Classes | |
| struct | LootStoreItem |
| struct | LootItem |
| struct | QuestItem |
| class | LootStore |
| class | LootTemplate |
| class | LootValidatorRef |
| class | LootValidatorRefMgr |
| struct | Loot |
| struct | LootView |
Macros | |
| #define | MAX_NR_LOOT_ITEMS 18 |
| #define | MAX_NR_QUEST_ITEMS 32 |
Typedefs | |
| typedef GuidSet | AllowedLooterSet |
| typedef std::vector< QuestItem > | QuestItemList |
| typedef std::vector< LootItem > | LootItemList |
| typedef std::map< ObjectGuid, QuestItemList * > | QuestItemMap |
| typedef std::list< LootStoreItem * > | LootStoreItemList |
| typedef std::unordered_map< uint32, LootTemplate * > | LootTemplateMap |
| typedef std::set< uint32 > | LootIdSet |
Functions | |
| ByteBuffer & | operator<< (ByteBuffer &b, LootItem const &li) |
| ByteBuffer & | operator<< (ByteBuffer &b, LootView const &lv) |
| void | LoadLootTemplates_Creature () |
| void | LoadLootTemplates_Fishing () |
| void | LoadLootTemplates_Gameobject () |
| void | LoadLootTemplates_Item () |
| void | LoadLootTemplates_Mail () |
| void | LoadLootTemplates_Milling () |
| void | LoadLootTemplates_Pickpocketing () |
| void | LoadLootTemplates_Skinning () |
| void | LoadLootTemplates_Disenchant () |
| void | LoadLootTemplates_Prospecting () |
| void | LoadLootTemplates_Spell () |
| void | LoadLootTemplates_Reference () |
| void | LoadLootTemplates_Player () |
| void | LoadLootTables () |
| #define MAX_NR_LOOT_ITEMS 18 |
| #define MAX_NR_QUEST_ITEMS 32 |
| typedef GuidSet AllowedLooterSet |
| typedef std::vector<LootItem> LootItemList |
| typedef std::list<LootStoreItem*> LootStoreItemList |
| typedef std::unordered_map<uint32, LootTemplate*> LootTemplateMap |
| typedef std::vector<QuestItem> QuestItemList |
| typedef std::map<ObjectGuid, QuestItemList*> QuestItemMap |
| enum LootError |
| enum LootMethod |
| Enumerator | |
|---|---|
| FREE_FOR_ALL | |
| ROUND_ROBIN | |
| MASTER_LOOT | |
| GROUP_LOOT | |
| NEED_BEFORE_GREED | |
| enum LootSlotType |
| enum LootType |
| Enumerator | |
|---|---|
| LOOT_NONE | |
| LOOT_CORPSE | |
| LOOT_PICKPOCKETING | |
| LOOT_FISHING | |
| LOOT_DISENCHANTING | |
| LOOT_SKINNING | |
| LOOT_PROSPECTING | |
| LOOT_MILLING | |
| LOOT_FISHINGHOLE | |
| LOOT_INSIGNIA | |
| LOOT_FISHING_JUNK | |
| enum PermissionTypes |
| Enumerator | |
|---|---|
| ALL_PERMISSION | |
| GROUP_PERMISSION | |
| MASTER_PERMISSION | |
| RESTRICTED_PERMISSION | |
| ROUND_ROBIN_PERMISSION | |
| OWNER_PERMISSION | |
| NONE_PERMISSION | |
| enum RollMask |
| Enumerator | |
|---|---|
| ROLL_FLAG_TYPE_PASS | |
| ROLL_FLAG_TYPE_NEED | |
| ROLL_FLAG_TYPE_GREED | |
| ROLL_FLAG_TYPE_DISENCHANT | |
| ROLL_ALL_TYPE_NO_DISENCHANT | |
| ROLL_ALL_TYPE_MASK | |
| enum RollType |
| Enumerator | |
|---|---|
| ROLL_PASS | |
| ROLL_NEED | |
| ROLL_GREED | |
| ROLL_DISENCHANT | |
| MAX_ROLL_TYPE | |
|
inline |
References LoadLootTemplates_Creature(), LoadLootTemplates_Disenchant(), LoadLootTemplates_Fishing(), LoadLootTemplates_Gameobject(), LoadLootTemplates_Item(), LoadLootTemplates_Mail(), LoadLootTemplates_Milling(), LoadLootTemplates_Pickpocketing(), LoadLootTemplates_Player(), LoadLootTemplates_Prospecting(), LoadLootTemplates_Reference(), LoadLootTemplates_Skinning(), and LoadLootTemplates_Spell().
Referenced by reload_commandscript::HandleReloadAllLootCommand(), and World::SetInitialWorldSettings().
| void LoadLootTemplates_Creature | ( | ) |
References getMSTime(), GetMSTimeDiffToNow(), LootStore::LoadAndCollectLootIds(), LOG_INFO, LOG_WARN, LootTemplates_Creature, LootStore::ReportNonExistingId(), LootStore::ReportUnusedIds(), and sObjectMgr.
Referenced by reload_commandscript::HandleReloadLootTemplatesCreatureCommand(), and LoadLootTables().
| void LoadLootTemplates_Disenchant | ( | ) |
References getMSTime(), GetMSTimeDiffToNow(), LootStore::LoadAndCollectLootIds(), LOG_INFO, LOG_WARN, LootTemplates_Disenchant, LootStore::ReportNonExistingId(), LootStore::ReportUnusedIds(), and sObjectMgr.
Referenced by reload_commandscript::HandleReloadLootTemplatesDisenchantCommand(), and LoadLootTables().
| void LoadLootTemplates_Fishing | ( | ) |
References getMSTime(), GetMSTimeDiffToNow(), LootStore::LoadAndCollectLootIds(), LOG_INFO, LOG_WARN, LootTemplates_Fishing, LootStore::ReportUnusedIds(), and sAreaTableStore.
Referenced by reload_commandscript::HandleReloadLootTemplatesFishingCommand(), and LoadLootTables().
| void LoadLootTemplates_Gameobject | ( | ) |
References getMSTime(), GetMSTimeDiffToNow(), LootStore::LoadAndCollectLootIds(), LOG_INFO, LOG_WARN, LootTemplates_Gameobject, LootStore::ReportNonExistingId(), LootStore::ReportUnusedIds(), and sObjectMgr.
Referenced by reload_commandscript::HandleReloadLootTemplatesGameobjectCommand(), and LoadLootTables().
| void LoadLootTemplates_Item | ( | ) |
References getMSTime(), GetMSTimeDiffToNow(), ITEM_FLAG_HAS_LOOT, LootStore::LoadAndCollectLootIds(), LOG_INFO, LOG_WARN, LootTemplates_Item, LootStore::ReportUnusedIds(), and sObjectMgr.
Referenced by reload_commandscript::HandleReloadLootTemplatesItemCommand(), and LoadLootTables().
| void LoadLootTemplates_Mail | ( | ) |
References getMSTime(), GetMSTimeDiffToNow(), LootStore::LoadAndCollectLootIds(), LOG_INFO, LOG_WARN, LootTemplates_Mail, LootStore::ReportUnusedIds(), and sMailTemplateStore.
Referenced by reload_commandscript::HandleReloadLootTemplatesMailCommand(), and LoadLootTables().
| void LoadLootTemplates_Milling | ( | ) |
References getMSTime(), GetMSTimeDiffToNow(), ITEM_FLAG_IS_MILLABLE, LootStore::LoadAndCollectLootIds(), LOG_INFO, LOG_WARN, LootTemplates_Milling, LootStore::ReportUnusedIds(), and sObjectMgr.
Referenced by reload_commandscript::HandleReloadLootTemplatesMillingCommand(), and LoadLootTables().
| void LoadLootTemplates_Pickpocketing | ( | ) |
References getMSTime(), GetMSTimeDiffToNow(), LootStore::LoadAndCollectLootIds(), LOG_INFO, LOG_WARN, LootTemplates_Pickpocketing, LootStore::ReportNonExistingId(), LootStore::ReportUnusedIds(), and sObjectMgr.
Referenced by reload_commandscript::HandleReloadLootTemplatesPickpocketingCommand(), and LoadLootTables().
| void LoadLootTemplates_Player | ( | ) |
References getMSTime(), GetMSTimeDiffToNow(), LootStore::LoadAndCollectLootIds(), LOG_INFO, LOG_WARN, and LootTemplates_Player.
Referenced by reload_commandscript::HandleReloadLootTemplatesPlayerCommand(), and LoadLootTables().
| void LoadLootTemplates_Prospecting | ( | ) |
References getMSTime(), GetMSTimeDiffToNow(), ITEM_FLAG_IS_PROSPECTABLE, LootStore::LoadAndCollectLootIds(), LOG_INFO, LOG_WARN, LootTemplates_Prospecting, LootStore::ReportUnusedIds(), and sObjectMgr.
Referenced by reload_commandscript::HandleReloadLootTemplatesProspectingCommand(), and LoadLootTables().
| void LoadLootTemplates_Reference | ( | ) |
References LootStore::CheckLootRefs(), getMSTime(), GetMSTimeDiffToNow(), LootStore::LoadAndCollectLootIds(), LOG_INFO, LootTemplates_Creature, LootTemplates_Disenchant, LootTemplates_Fishing, LootTemplates_Gameobject, LootTemplates_Item, LootTemplates_Mail, LootTemplates_Milling, LootTemplates_Pickpocketing, LootTemplates_Prospecting, LootTemplates_Reference, LootTemplates_Skinning, and LootStore::ReportUnusedIds().
Referenced by reload_commandscript::HandleReloadLootTemplatesReferenceCommand(), and LoadLootTables().
| void LoadLootTemplates_Skinning | ( | ) |
References getMSTime(), GetMSTimeDiffToNow(), LootStore::LoadAndCollectLootIds(), LOG_INFO, LOG_WARN, LootTemplates_Skinning, LootStore::ReportNonExistingId(), LootStore::ReportUnusedIds(), and sObjectMgr.
Referenced by reload_commandscript::HandleReloadLootTemplatesSkinningCommand(), and LoadLootTables().
| void LoadLootTemplates_Spell | ( | ) |
References getMSTime(), GetMSTimeDiffToNow(), SpellInfo::HasAttribute(), SpellInfo::Id, SpellInfo::IsLootCrafting(), LootStore::LoadAndCollectLootIds(), LOG_INFO, LOG_WARN, LootTemplates_Spell, LootStore::ReportNonExistingId(), LootStore::ReportUnusedIds(), SPELL_ATTR0_IS_TRADESKILL, SPELL_ATTR0_NOT_SHAPESHIFTED, and sSpellMgr.
Referenced by reload_commandscript::HandleReloadLootTemplatesSpellCommand(), and LoadLootTables().
| ByteBuffer & operator<< | ( | ByteBuffer & | b, |
| LootItem const & | li | ||
| ) |
References LootItem::count, LootItem::itemid, LootItem::randomPropertyId, LootItem::randomSuffix, and sObjectMgr.
| ByteBuffer & operator<< | ( | ByteBuffer & | b, |
| LootView const & | lv | ||
| ) |
|
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_Player().
|
extern |
Referenced by LoadLootTemplates_Prospecting(), and LoadLootTemplates_Reference().
|
extern |
|
extern |
Referenced by LoadLootTemplates_Reference(), and LoadLootTemplates_Skinning().
|
extern |
Referenced by LoadLootTemplates_Spell().