|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include "ByteBuffer.h"#include "ConditionMgr.h"#include "ItemEnchantmentMgr.h"#include "Object.h"#include "RefManager.h"#include "SharedDefines.h"#include <list>#include <map>#include <vector>Go to the source code of this file.
Classes | |
| struct | Loot |
| struct | LootItem |
| class | LootStore |
| struct | LootStoreItem |
| class | LootTemplate |
| class | LootValidatorRef |
| class | LootValidatorRefManager |
| struct | LootView |
| struct | QuestItem |
Macros | |
| #define | MAX_NR_LOOT_ITEMS 16 |
| #define | MAX_NR_QUEST_ITEMS 32 |
Typedefs | |
| typedef std::set< uint32 > | AllowedLooterSet |
| typedef std::set< uint32 > | LootIdSet |
| typedef std::vector< LootItem > | LootItemList |
| typedef std::list< LootStoreItem * > | LootStoreItemList |
| typedef UNORDERED_MAP< uint32, LootTemplate * > | LootTemplateMap |
| typedef std::vector< QuestItem > | QuestItemList |
| typedef std::map< uint32, QuestItemList * > | QuestItemMap |
Functions | |
| void | LoadLootTables () |
| void | LoadLootTemplates_Creature () |
| void | LoadLootTemplates_Disenchant () |
| void | LoadLootTemplates_Fishing () |
| void | LoadLootTemplates_Gameobject () |
| void | LoadLootTemplates_Item () |
| void | LoadLootTemplates_Mail () |
| void | LoadLootTemplates_Milling () |
| void | LoadLootTemplates_Pickpocketing () |
| void | LoadLootTemplates_Prospecting () |
| void | LoadLootTemplates_Reference () |
| void | LoadLootTemplates_Skinning () |
| void | LoadLootTemplates_Spell () |
| #define MAX_NR_LOOT_ITEMS 16 |
Definition at line 41 of file LootMgr.h.
Referenced by Loot::AddItem(), Loot::FillLoot(), and Loot::FillQuestLoot().
| #define MAX_NR_QUEST_ITEMS 32 |
Definition at line 43 of file LootMgr.h.
Referenced by Loot::AddItem(), and Loot::FillLoot().
| typedef std::set<uint32> AllowedLooterSet |
| typedef std::vector<LootItem> LootItemList |
| typedef std::list<LootStoreItem*> LootStoreItemList |
| typedef UNORDERED_MAP<uint32, LootTemplate*> LootTemplateMap |
| typedef std::vector<QuestItem> QuestItemList |
| typedef std::map<uint32, QuestItemList*> QuestItemMap |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
inline |
Definition at line 406 of file LootMgr.h.
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().
| void LoadLootTemplates_Creature | ( | ) |
Definition at line 1606 of file LootMgr.cpp.
References getMSTime(), GetMSTimeDiffToNow(), LootTemplates_Creature, SF_LOG_ERROR, SF_LOG_INFO, and sObjectMgr.
Referenced by reload_commandscript::HandleReloadLootTemplatesCreatureCommand(), and LoadLootTables().
| void LoadLootTemplates_Disenchant | ( | ) |
Definition at line 1640 of file LootMgr.cpp.
References getMSTime(), GetMSTimeDiffToNow(), ItemDisenchantLootEntry::Id, LootTemplates_Disenchant, SF_LOG_ERROR, SF_LOG_INFO, and sItemDisenchantLootStore.
Referenced by reload_commandscript::HandleReloadLootTemplatesDisenchantCommand(), and LoadLootTables().
| void LoadLootTemplates_Fishing | ( | ) |
Definition at line 1674 of file LootMgr.cpp.
References getMSTime(), GetMSTimeDiffToNow(), LootTemplates_Fishing, sAreaStore, SF_LOG_ERROR, and SF_LOG_INFO.
Referenced by reload_commandscript::HandleReloadLootTemplatesFishingCommand(), and LoadLootTables().
| void LoadLootTemplates_Gameobject | ( | ) |
Definition at line 1698 of file LootMgr.cpp.
References getMSTime(), GetMSTimeDiffToNow(), LootTemplates_Gameobject, SF_LOG_ERROR, SF_LOG_INFO, and sObjectMgr.
Referenced by reload_commandscript::HandleReloadLootTemplatesGameobjectCommand(), and LoadLootTables().
| void LoadLootTemplates_Item | ( | ) |
Definition at line 1732 of file LootMgr.cpp.
References getMSTime(), GetMSTimeDiffToNow(), ITEM_PROTO_FLAG_OPENABLE, LootTemplates_Item, SF_LOG_ERROR, SF_LOG_INFO, and sObjectMgr.
Referenced by reload_commandscript::HandleReloadLootTemplatesItemCommand(), and LoadLootTables().
| void LoadLootTemplates_Mail | ( | ) |
Definition at line 1848 of file LootMgr.cpp.
References getMSTime(), GetMSTimeDiffToNow(), LootTemplates_Mail, SF_LOG_ERROR, SF_LOG_INFO, and sMailTemplateStore.
Referenced by reload_commandscript::HandleReloadLootTemplatesMailCommand(), and LoadLootTables().
| void LoadLootTemplates_Milling | ( | ) |
Definition at line 1756 of file LootMgr.cpp.
References getMSTime(), GetMSTimeDiffToNow(), ITEM_PROTO_FLAG_MILLABLE, LootTemplates_Milling, SF_LOG_ERROR, SF_LOG_INFO, and sObjectMgr.
Referenced by reload_commandscript::HandleReloadLootTemplatesMillingCommand(), and LoadLootTables().
| void LoadLootTemplates_Pickpocketing | ( | ) |
Definition at line 1785 of file LootMgr.cpp.
References getMSTime(), GetMSTimeDiffToNow(), LootTemplates_Pickpocketing, SF_LOG_ERROR, SF_LOG_INFO, and sObjectMgr.
Referenced by reload_commandscript::HandleReloadLootTemplatesPickpocketingCommand(), and LoadLootTables().
| void LoadLootTemplates_Prospecting | ( | ) |
Definition at line 1819 of file LootMgr.cpp.
References getMSTime(), GetMSTimeDiffToNow(), ITEM_PROTO_FLAG_PROSPECTABLE, LootTemplates_Prospecting, SF_LOG_ERROR, SF_LOG_INFO, and sObjectMgr.
Referenced by reload_commandscript::HandleReloadLootTemplatesProspectingCommand(), and LoadLootTables().
| void LoadLootTemplates_Reference | ( | ) |
Definition at line 1947 of file LootMgr.cpp.
References getMSTime(), GetMSTimeDiffToNow(), LootTemplates_Creature, LootTemplates_Disenchant, LootTemplates_Fishing, LootTemplates_Gameobject, LootTemplates_Item, LootTemplates_Mail, LootTemplates_Milling, LootTemplates_Pickpocketing, LootTemplates_Prospecting, LootTemplates_Reference, LootTemplates_Skinning, and SF_LOG_INFO.
Referenced by reload_commandscript::HandleReloadLootTemplatesReferenceCommand(), and LoadLootTables().
| void LoadLootTemplates_Skinning | ( | ) |
Definition at line 1871 of file LootMgr.cpp.
References getMSTime(), GetMSTimeDiffToNow(), LootTemplates_Skinning, SF_LOG_ERROR, SF_LOG_INFO, and sObjectMgr.
Referenced by reload_commandscript::HandleReloadLootTemplatesSkinningCommand(), and LoadLootTables().
| void LoadLootTemplates_Spell | ( | ) |
Definition at line 1905 of file LootMgr.cpp.
References SpellInfo::Attributes, getMSTime(), GetMSTimeDiffToNow(), SpellInfo::IsLootCrafting(), LootTemplates_Spell, SF_LOG_ERROR, SF_LOG_INFO, SPELL_ATTR0_NOT_SHAPESHIFT, SPELL_ATTR0_TRADESPELL, and sSpellMgr.
Referenced by reload_commandscript::HandleReloadLootTemplatesSpellCommand(), and LoadLootTables().
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
Referenced by LootTemplate::CheckLootRefs(), LootTemplate::LootGroup::CheckLootRefs(), and LootTemplate::Process().
|
extern |
|
extern |