TrinityCore
|
#include <LootItemStorage.h>
Public Types | |
typedef std::unordered_multimap< uint32, StoredLootItem > | StoredLootItemContainer |
Public Member Functions | |
StoredLootContainer (uint64 containerId) | |
void | AddLootItem (LootItem const &lootItem, CharacterDatabaseTransaction trans) |
void | AddMoney (uint32 money, CharacterDatabaseTransaction trans) |
void | RemoveMoney () |
void | RemoveItem (uint32 itemId, uint32 count, uint32 itemIndex) |
uint64 | GetContainer () const |
uint32 | GetMoney () const |
StoredLootItemContainer const & | GetLootItems () const |
Private Attributes | |
StoredLootItemContainer | _lootItems |
uint64 const | _containerId |
uint32 | _money |
Definition at line 53 of file LootItemStorage.h.
typedef std::unordered_multimap<uint32 , StoredLootItem> StoredLootContainer::StoredLootItemContainer |
Definition at line 56 of file LootItemStorage.h.
|
inlineexplicit |
Definition at line 58 of file LootItemStorage.h.
void StoredLootContainer::AddLootItem | ( | LootItem const & | lootItem, |
CharacterDatabaseTransaction | trans | ||
) |
Definition at line 296 of file LootItemStorage.cpp.
void StoredLootContainer::AddMoney | ( | uint32 | money, |
CharacterDatabaseTransaction | trans | ||
) |
Definition at line 324 of file LootItemStorage.cpp.
|
inline |
Definition at line 66 of file LootItemStorage.h.
|
inline |
|
inline |
void StoredLootContainer::RemoveMoney | ( | ) |
|
private |
Definition at line 72 of file LootItemStorage.h.
|
private |
Definition at line 71 of file LootItemStorage.h.
|
private |
Definition at line 73 of file LootItemStorage.h.