#include <CollectionMgr.h>
|
| CollectionMgr (WorldSession *owner) |
|
| ~CollectionMgr () |
|
void | LoadToys () |
|
void | LoadAccountToys (PreparedQueryResult result) |
|
void | SaveAccountToys (LoginDatabaseTransaction trans) |
|
void | ToySetFavorite (uint32 itemId, bool favorite) |
|
void | ToyClearFanfare (uint32 itemId) |
|
bool | AddToy (uint32 itemId, bool isFavourite, bool hasFanfare) |
|
bool | UpdateAccountToys (uint32 itemId, bool isFavourite, bool hasFanfare) |
|
bool | HasToy (uint32 itemId) const |
|
ToyBoxContainer const & | GetAccountToys () const |
|
void | OnItemAdded (Item *item) |
|
void | LoadHeirlooms () |
|
void | LoadAccountHeirlooms (PreparedQueryResult result) |
|
void | SaveAccountHeirlooms (LoginDatabaseTransaction trans) |
|
void | AddHeirloom (uint32 itemId, uint32 flags) |
|
bool | HasHeirloom (uint32 itemId) const |
|
void | UpgradeHeirloom (uint32 itemId, int32 castItem) |
|
void | CheckHeirloomUpgrades (Item *item) |
|
bool | UpdateAccountHeirlooms (uint32 itemId, uint32 flags) |
|
uint32 | GetHeirloomBonus (uint32 itemId) const |
|
HeirloomContainer const & | GetAccountHeirlooms () const |
|
void | LoadMounts () |
|
void | LoadAccountMounts (PreparedQueryResult result) |
|
void | SaveAccountMounts (LoginDatabaseTransaction trans) |
|
bool | AddMount (uint32 spellId, MountStatusFlags flags, bool factionMount=false, bool learned=false) |
|
void | MountSetFavorite (uint32 spellId, bool favorite) |
|
void | SendSingleMountUpdate (std::pair< uint32, MountStatusFlags > mount) |
|
MountContainer const & | GetAccountMounts () const |
|
void | LoadItemAppearances () |
|
void | LoadAccountItemAppearances (PreparedQueryResult knownAppearances, PreparedQueryResult favoriteAppearances) |
|
void | SaveAccountItemAppearances (LoginDatabaseTransaction trans) |
|
void | AddItemAppearance (Item *item) |
|
void | AddItemAppearance (uint32 itemId, uint32 appearanceModId=0) |
|
void | AddTransmogSet (uint32 transmogSetId) |
|
bool | IsSetCompleted (uint32 transmogSetId) const |
|
void | RemoveTemporaryAppearance (Item *item) |
|
std::pair< bool, bool > | HasItemAppearance (uint32 itemModifiedAppearanceId) const |
|
std::unordered_set< ObjectGuid > | GetItemsProvidingTemporaryAppearance (uint32 itemModifiedAppearanceId) const |
|
std::unordered_set< uint32 > | GetAppearanceIds () const |
|
void | LoadTransmogIllusions () |
|
void | LoadAccountTransmogIllusions (PreparedQueryResult knownTransmogIllusions) |
|
void | SaveAccountTransmogIllusions (LoginDatabaseTransaction trans) |
|
void | AddTransmogIllusion (uint32 transmogIllusionId) |
|
bool | HasTransmogIllusion (uint32 transmogIllusionId) const |
|
void | SetAppearanceIsFavorite (uint32 itemModifiedAppearanceId, bool apply) |
|
void | SendFavoriteAppearances () const |
|
Definition at line 82 of file CollectionMgr.h.
◆ FavoriteAppearanceState
◆ CollectionMgr()
◆ ~CollectionMgr()
CollectionMgr::~CollectionMgr |
( |
| ) |
|
◆ AddHeirloom()
void CollectionMgr::AddHeirloom |
( |
uint32 |
itemId, |
|
|
uint32 |
flags |
|
) |
| |
◆ AddItemAppearance() [1/3]
void CollectionMgr::AddItemAppearance |
( |
Item * |
item | ) |
|
◆ AddItemAppearance() [2/3]
◆ AddItemAppearance() [3/3]
void CollectionMgr::AddItemAppearance |
( |
uint32 |
itemId, |
|
|
uint32 |
appearanceModId = 0 |
|
) |
| |
◆ AddMount()
bool CollectionMgr::AddMount |
( |
uint32 |
spellId, |
|
|
MountStatusFlags |
flags, |
|
|
bool |
factionMount = false , |
|
|
bool |
learned = false |
|
) |
| |
◆ AddTemporaryAppearance()
◆ AddToy()
bool CollectionMgr::AddToy |
( |
uint32 |
itemId, |
|
|
bool |
isFavourite, |
|
|
bool |
hasFanfare |
|
) |
| |
◆ AddTransmogIllusion()
void CollectionMgr::AddTransmogIllusion |
( |
uint32 |
transmogIllusionId | ) |
|
◆ AddTransmogSet()
void CollectionMgr::AddTransmogSet |
( |
uint32 |
transmogSetId | ) |
|
◆ CanAddAppearance()
◆ CheckHeirloomUpgrades()
void CollectionMgr::CheckHeirloomUpgrades |
( |
Item * |
item | ) |
|
◆ GetAccountHeirlooms()
◆ GetAccountMounts()
◆ GetAccountToys()
◆ GetAppearanceIds()
std::unordered_set< uint32 > CollectionMgr::GetAppearanceIds |
( |
| ) |
const |
◆ GetHeirloomBonus()
uint32 CollectionMgr::GetHeirloomBonus |
( |
uint32 |
itemId | ) |
const |
◆ GetItemsProvidingTemporaryAppearance()
std::unordered_set< ObjectGuid > CollectionMgr::GetItemsProvidingTemporaryAppearance |
( |
uint32 |
itemModifiedAppearanceId | ) |
const |
◆ HasHeirloom()
bool CollectionMgr::HasHeirloom |
( |
uint32 |
itemId | ) |
const |
|
inline |
◆ HasItemAppearance()
std::pair< bool, bool > CollectionMgr::HasItemAppearance |
( |
uint32 |
itemModifiedAppearanceId | ) |
const |
◆ HasToy()
bool CollectionMgr::HasToy |
( |
uint32 |
itemId | ) |
const |
|
inline |
◆ HasTransmogIllusion()
bool CollectionMgr::HasTransmogIllusion |
( |
uint32 |
transmogIllusionId | ) |
const |
◆ IsSetCompleted()
bool CollectionMgr::IsSetCompleted |
( |
uint32 |
transmogSetId | ) |
const |
◆ LoadAccountHeirlooms()
◆ LoadAccountItemAppearances()
◆ LoadAccountMounts()
◆ LoadAccountToys()
◆ LoadAccountTransmogIllusions()
◆ LoadHeirlooms()
void CollectionMgr::LoadHeirlooms |
( |
| ) |
|
◆ LoadItemAppearances()
void CollectionMgr::LoadItemAppearances |
( |
| ) |
|
◆ LoadMountDefinitions()
void CollectionMgr::LoadMountDefinitions |
( |
| ) |
|
|
static |
◆ LoadMounts()
void CollectionMgr::LoadMounts |
( |
| ) |
|
◆ LoadToys()
void CollectionMgr::LoadToys |
( |
| ) |
|
◆ LoadTransmogIllusions()
void CollectionMgr::LoadTransmogIllusions |
( |
| ) |
|
◆ MountSetFavorite()
void CollectionMgr::MountSetFavorite |
( |
uint32 |
spellId, |
|
|
bool |
favorite |
|
) |
| |
◆ OnItemAdded()
void CollectionMgr::OnItemAdded |
( |
Item * |
item | ) |
|
◆ RemoveTemporaryAppearance()
void CollectionMgr::RemoveTemporaryAppearance |
( |
Item * |
item | ) |
|
◆ SaveAccountHeirlooms()
◆ SaveAccountItemAppearances()
◆ SaveAccountMounts()
◆ SaveAccountToys()
◆ SaveAccountTransmogIllusions()
◆ SendFavoriteAppearances()
void CollectionMgr::SendFavoriteAppearances |
( |
| ) |
const |
◆ SendSingleMountUpdate()
◆ SetAppearanceIsFavorite()
void CollectionMgr::SetAppearanceIsFavorite |
( |
uint32 |
itemModifiedAppearanceId, |
|
|
bool |
apply |
|
) |
| |
◆ ToyClearFanfare()
void CollectionMgr::ToyClearFanfare |
( |
uint32 |
itemId | ) |
|
◆ ToySetFavorite()
void CollectionMgr::ToySetFavorite |
( |
uint32 |
itemId, |
|
|
bool |
favorite |
|
) |
| |
◆ UpdateAccountHeirlooms()
bool CollectionMgr::UpdateAccountHeirlooms |
( |
uint32 |
itemId, |
|
|
uint32 |
flags |
|
) |
| |
◆ UpdateAccountToys()
bool CollectionMgr::UpdateAccountToys |
( |
uint32 |
itemId, |
|
|
bool |
isFavourite, |
|
|
bool |
hasFanfare |
|
) |
| |
◆ UpgradeHeirloom()
void CollectionMgr::UpgradeHeirloom |
( |
uint32 |
itemId, |
|
|
int32 |
castItem |
|
) |
| |
◆ _appearances
std::unique_ptr<boost::dynamic_bitset<uint32> > CollectionMgr::_appearances |
|
private |
◆ _favoriteAppearances
◆ _heirlooms
◆ _mounts
◆ _owner
◆ _temporaryAppearances
std::unordered_map<uint32, std::unordered_set<ObjectGuid> > CollectionMgr::_temporaryAppearances |
|
private |
◆ _toys
◆ _transmogIllusions
std::unique_ptr<boost::dynamic_bitset<uint32> > CollectionMgr::_transmogIllusions |
|
private |
The documentation for this class was generated from the following files: