#include "LootMgr.h"
#include "Containers.h"
#include "DatabaseEnv.h"
#include "DB2Stores.h"
#include "ItemBonusMgr.h"
#include "ItemTemplate.h"
#include "Log.h"
#include "Loot.h"
#include "ObjectMgr.h"
#include "Player.h"
#include "Random.h"
#include "SpellInfo.h"
#include "SpellMgr.h"
#include "World.h"
Go to the source code of this file.
|
std::unordered_map< ObjectGuid, std::unique_ptr< Loot > > | GenerateDungeonEncounterPersonalLoot (uint32 dungeonEncounterId, uint32 lootId, LootStore const &store, LootType type, WorldObject const *lootOwner, uint32 minMoney, uint32 maxMoney, uint16 lootMode, MapDifficultyEntry const *mapDifficulty, std::vector< Player * > const &tappers) |
|
void | LoadLootTemplates_Creature () |
|
void | LoadLootTemplates_Disenchant () |
|
void | LoadLootTemplates_Fishing () |
|
void | LoadLootTemplates_Gameobject () |
|
void | LoadLootTemplates_Item () |
|
void | LoadLootTemplates_Milling () |
|
void | LoadLootTemplates_Pickpocketing () |
|
void | LoadLootTemplates_Prospecting () |
|
void | LoadLootTemplates_Mail () |
|
void | LoadLootTemplates_Skinning () |
|
void | LoadLootTemplates_Spell () |
|
void | LoadLootTemplates_Reference () |
|
void | LoadLootTables () |
|
|
static Rates const | qualityToRate [MAX_ITEM_QUALITY] |
|
LootStore | LootTemplates_Creature ("creature_loot_template", "creature entry", true) |
|
LootStore | LootTemplates_Disenchant ("disenchant_loot_template", "item disenchant id", true) |
|
LootStore | LootTemplates_Fishing ("fishing_loot_template", "area id", true) |
|
LootStore | LootTemplates_Gameobject ("gameobject_loot_template", "gameobject entry", true) |
|
LootStore | LootTemplates_Item ("item_loot_template", "item entry", true) |
|
LootStore | LootTemplates_Mail ("mail_loot_template", "mail template id", false) |
|
LootStore | LootTemplates_Milling ("milling_loot_template", "item entry (herb)", true) |
|
LootStore | LootTemplates_Pickpocketing ("pickpocketing_loot_template", "creature pickpocket lootid", true) |
|
LootStore | LootTemplates_Prospecting ("prospecting_loot_template", "item entry (ore)", true) |
|
LootStore | LootTemplates_Reference ("reference_loot_template", "reference id", false) |
|
LootStore | LootTemplates_Skinning ("skinning_loot_template", "creature skinning id", true) |
|
LootStore | LootTemplates_Spell ("spell_loot_template", "spell id (random item creating)", false) |
|
◆ GenerateDungeonEncounterPersonalLoot()
std::unordered_map< ObjectGuid, std::unique_ptr< Loot > > GenerateDungeonEncounterPersonalLoot |
( |
uint32 |
dungeonEncounterId, |
|
|
uint32 |
lootId, |
|
|
LootStore const & |
store, |
|
|
LootType |
type, |
|
|
WorldObject const * |
lootOwner, |
|
|
uint32 |
minMoney, |
|
|
uint32 |
maxMoney, |
|
|
uint16 |
lootMode, |
|
|
MapDifficultyEntry const * |
mapDifficulty, |
|
|
std::vector< Player * > const & |
tappers |
|
) |
| |
◆ LoadLootTables()
◆ LoadLootTemplates_Creature()
void LoadLootTemplates_Creature |
( |
| ) |
|
◆ LoadLootTemplates_Disenchant()
void LoadLootTemplates_Disenchant |
( |
| ) |
|
◆ LoadLootTemplates_Fishing()
void LoadLootTemplates_Fishing |
( |
| ) |
|
◆ LoadLootTemplates_Gameobject()
void LoadLootTemplates_Gameobject |
( |
| ) |
|
◆ LoadLootTemplates_Item()
void LoadLootTemplates_Item |
( |
| ) |
|
◆ LoadLootTemplates_Mail()
void LoadLootTemplates_Mail |
( |
| ) |
|
◆ LoadLootTemplates_Milling()
void LoadLootTemplates_Milling |
( |
| ) |
|
◆ LoadLootTemplates_Pickpocketing()
void LoadLootTemplates_Pickpocketing |
( |
| ) |
|
◆ LoadLootTemplates_Prospecting()
void LoadLootTemplates_Prospecting |
( |
| ) |
|
◆ LoadLootTemplates_Reference()
void LoadLootTemplates_Reference |
( |
| ) |
|
◆ LoadLootTemplates_Skinning()
void LoadLootTemplates_Skinning |
( |
| ) |
|
◆ LoadLootTemplates_Spell()
void LoadLootTemplates_Spell |
( |
| ) |
|
◆ LootTemplates_Creature
LootStore LootTemplates_Creature("creature_loot_template", "creature entry", true) |
( |
"creature_loot_template" |
, |
|
|
"creature entry" |
, |
|
|
true |
|
|
) |
| |
◆ LootTemplates_Disenchant
LootStore LootTemplates_Disenchant("disenchant_loot_template", "item disenchant id", true) |
( |
"disenchant_loot_template" |
, |
|
|
"item disenchant id" |
, |
|
|
true |
|
|
) |
| |
◆ LootTemplates_Fishing
LootStore LootTemplates_Fishing("fishing_loot_template", "area id", true) |
( |
"fishing_loot_template" |
, |
|
|
"area id" |
, |
|
|
true |
|
|
) |
| |
◆ LootTemplates_Gameobject
LootStore LootTemplates_Gameobject("gameobject_loot_template", "gameobject entry", true) |
( |
"gameobject_loot_template" |
, |
|
|
"gameobject entry" |
, |
|
|
true |
|
|
) |
| |
◆ LootTemplates_Item
LootStore LootTemplates_Item("item_loot_template", "item entry", true) |
( |
"item_loot_template" |
, |
|
|
"item entry" |
, |
|
|
true |
|
|
) |
| |
◆ LootTemplates_Mail
LootStore LootTemplates_Mail("mail_loot_template", "mail template id", false) |
( |
"mail_loot_template" |
, |
|
|
"mail template id" |
, |
|
|
false |
|
|
) |
| |
◆ LootTemplates_Milling
LootStore LootTemplates_Milling("milling_loot_template", "item entry (herb)", true) |
( |
"milling_loot_template" |
, |
|
|
"item entry (herb)" |
, |
|
|
true |
|
|
) |
| |
◆ LootTemplates_Pickpocketing
LootStore LootTemplates_Pickpocketing("pickpocketing_loot_template", "creature pickpocket lootid", true) |
( |
"pickpocketing_loot_template" |
, |
|
|
"creature pickpocket lootid" |
, |
|
|
true |
|
|
) |
| |
◆ LootTemplates_Prospecting
LootStore LootTemplates_Prospecting("prospecting_loot_template", "item entry (ore)", true) |
( |
"prospecting_loot_template" |
, |
|
|
"item entry (ore)" |
, |
|
|
true |
|
|
) |
| |
◆ LootTemplates_Reference
LootStore LootTemplates_Reference("reference_loot_template", "reference id", false) |
( |
"reference_loot_template" |
, |
|
|
"reference id" |
, |
|
|
false |
|
|
) |
| |
◆ LootTemplates_Skinning
LootStore LootTemplates_Skinning("skinning_loot_template", "creature skinning id", true) |
( |
"skinning_loot_template" |
, |
|
|
"creature skinning id" |
, |
|
|
true |
|
|
) |
| |
◆ LootTemplates_Spell
LootStore LootTemplates_Spell("spell_loot_template", "spell id (random item creating)", false) |
( |
"spell_loot_template" |
, |
|
|
"spell id (random item creating)" |
, |
|
|
false |
|
|
) |
| |
◆ qualityToRate
Initial value:=
{
}
@ RATE_DROP_ITEM_LEGENDARY
@ RATE_DROP_ITEM_UNCOMMON
@ RATE_DROP_ITEM_ARTIFACT
Definition at line 33 of file LootMgr.cpp.