![]() |
TrinityCore
|
#include <CollectionMgr.h>
Static Public Member Functions | |
| static void | LoadMountDefinitions () |
| static void | LoadWarbandSceneDefinitions () |
Private Member Functions | |
| bool | CanAddAppearance (ItemModifiedAppearanceEntry const *itemModifiedAppearance) const |
| void | AddItemAppearance (ItemModifiedAppearanceEntry const *itemModifiedAppearance) |
| void | AddTemporaryAppearance (ObjectGuid const &itemGuid, ItemModifiedAppearanceEntry const *itemModifiedAppearance) |
Private Attributes | |
| WorldSession * | _owner |
| ToyBoxContainer | _toys |
| HeirloomContainer | _heirlooms |
| MountContainer | _mounts |
| std::unique_ptr< boost::dynamic_bitset< uint32 > > | _appearances |
| std::unordered_map< uint32, std::unordered_set< ObjectGuid > > | _temporaryAppearances |
| std::unordered_map< uint32, CollectionItemState > | _favoriteAppearances |
| std::unique_ptr< boost::dynamic_bitset< uint32 > > | _transmogIllusions |
| Trinity::Containers::FlatSet< int32 > | _transmogOutfits |
| WarbandSceneCollectionContainer | _warbandScenes |
Definition at line 108 of file CollectionMgr.h.
|
explicit |
Definition at line 99 of file CollectionMgr.cpp.
|
delete |
|
delete |
|
default |
Definition at line 270 of file CollectionMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void CollectionMgr::AddItemAppearance | ( | Item * | item | ) |
Definition at line 611 of file CollectionMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
| bool CollectionMgr::AddMount | ( | uint32 | spellId, |
| MountStatusFlags | flags, | ||
| bool | factionMount = false, |
||
| bool | learned = false |
||
| ) |
Definition at line 414 of file CollectionMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 792 of file CollectionMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| bool CollectionMgr::AddToy | ( | uint32 | itemId, |
| bool | isFavourite, | ||
| bool | hasFanfare | ||
| ) |
| void CollectionMgr::AddTransmogIllusion | ( | uint32 | transmogIllusionId | ) |
Definition at line 962 of file CollectionMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void CollectionMgr::AddTransmogOutfit | ( | int32 | transmogOutfitId | ) |
Definition at line 1024 of file CollectionMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void CollectionMgr::AddTransmogSet | ( | uint32 | transmogSetId | ) |
Definition at line 638 of file CollectionMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void CollectionMgr::AddWarbandScene | ( | uint32 | warbandSceneId | ) |
Definition at line 1116 of file CollectionMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 680 of file CollectionMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void CollectionMgr::CheckHeirloomUpgrades | ( | Item * | item | ) |
Definition at line 318 of file CollectionMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
|
inline |
|
inline |
| std::unordered_set< uint32 > CollectionMgr::GetAppearanceIds | ( | ) | const |
| std::unordered_set< ObjectGuid > CollectionMgr::GetItemsProvidingTemporaryAppearance | ( | uint32 | itemModifiedAppearanceId | ) | const |
|
inline |
|
inline |
| std::pair< bool, bool > CollectionMgr::HasItemAppearance | ( | uint32 | itemModifiedAppearanceId | ) | const |
|
inline |
| bool CollectionMgr::HasTransmogIllusion | ( | uint32 | transmogIllusionId | ) | const |
| bool CollectionMgr::HasTransmogOutfit | ( | int32 | transmogOutfitId | ) | const |
| bool CollectionMgr::HasWarbandScene | ( | uint32 | warbandSceneId | ) | const |
Definition at line 1129 of file CollectionMgr.cpp.
| bool CollectionMgr::IsSetCompleted | ( | uint32 | transmogSetId | ) | const |
Definition at line 650 of file CollectionMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void CollectionMgr::LoadAccountHeirlooms | ( | PreparedQueryResult | result | ) |
| void CollectionMgr::LoadAccountItemAppearances | ( | PreparedQueryResult | knownAppearances, |
| PreparedQueryResult | favoriteAppearances | ||
| ) |
| void CollectionMgr::LoadAccountMounts | ( | PreparedQueryResult | result | ) |
| void CollectionMgr::LoadAccountToys | ( | PreparedQueryResult | result | ) |
| void CollectionMgr::LoadAccountTransmogIllusions | ( | PreparedQueryResult | knownTransmogIllusions | ) |
| void CollectionMgr::LoadAccountTransmogOutfits | ( | PreparedQueryResult | unlockedTransmogOutfits | ) |
| void CollectionMgr::LoadAccountWarbandScenes | ( | PreparedQueryResult | knownWarbandScenes | ) |
| void CollectionMgr::LoadCharacterData | ( | ) |
Definition at line 107 of file CollectionMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void CollectionMgr::LoadHeirlooms | ( | ) |
Definition at line 264 of file CollectionMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void CollectionMgr::LoadItemAppearances | ( | ) |
Definition at line 500 of file CollectionMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 40 of file CollectionMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void CollectionMgr::LoadMounts | ( | ) |
Definition at line 378 of file CollectionMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void CollectionMgr::LoadToys | ( | ) |
Definition at line 129 of file CollectionMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void CollectionMgr::LoadTransmogIllusions | ( | ) |
Definition at line 894 of file CollectionMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void CollectionMgr::LoadTransmogOutfits | ( | ) |
Definition at line 986 of file CollectionMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
| void CollectionMgr::LoadWarbandScenes | ( | ) |
Definition at line 1035 of file CollectionMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void CollectionMgr::MountSetFavorite | ( | uint32 | spellId, |
| bool | favorite | ||
| ) |
| void CollectionMgr::OnItemAdded | ( | Item * | item | ) |
Definition at line 199 of file CollectionMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
delete |
|
delete |
| void CollectionMgr::RemoveTemporaryAppearance | ( | Item * | item | ) |
Definition at line 801 of file CollectionMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void CollectionMgr::SaveAccountHeirlooms | ( | LoginDatabaseTransaction | trans | ) |
Definition at line 237 of file CollectionMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void CollectionMgr::SaveAccountItemAppearances | ( | LoginDatabaseTransaction | trans | ) |
| void CollectionMgr::SaveAccountMounts | ( | LoginDatabaseTransaction | trans | ) |
Definition at line 402 of file CollectionMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void CollectionMgr::SaveAccountToys | ( | LoginDatabaseTransaction | trans | ) |
Definition at line 159 of file CollectionMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void CollectionMgr::SaveAccountTransmogIllusions | ( | LoginDatabaseTransaction | trans | ) |
| void CollectionMgr::SaveAccountTransmogOutfits | ( | LoginDatabaseTransaction | trans | ) |
Definition at line 1013 of file CollectionMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void CollectionMgr::SaveAccountWarbandScenes | ( | LoginDatabaseTransaction | trans | ) |
Definition at line 1074 of file CollectionMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void CollectionMgr::SaveToDB | ( | LoginDatabaseTransaction | trans | ) |
Definition at line 118 of file CollectionMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void CollectionMgr::SendFavoriteAppearances | ( | ) | const |
Definition at line 882 of file CollectionMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void CollectionMgr::SendSingleMountUpdate | ( | std::pair< uint32, MountStatusFlags > | mount | ) |
Definition at line 459 of file CollectionMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void CollectionMgr::SendWarbandSceneCollectionData | ( | ) | const |
| void CollectionMgr::SetAppearanceIsFavorite | ( | uint32 | itemModifiedAppearanceId, |
| bool | apply | ||
| ) |
Definition at line 852 of file CollectionMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void CollectionMgr::SetWarbandSceneIsFavorite | ( | uint32 | warbandSceneId, |
| bool | apply | ||
| ) |
Definition at line 1134 of file CollectionMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void CollectionMgr::ToyClearFanfare | ( | uint32 | itemId | ) |
Definition at line 190 of file CollectionMgr.cpp.
| void CollectionMgr::ToySetFavorite | ( | uint32 | itemId, |
| bool | favorite | ||
| ) |
| bool CollectionMgr::UpdateAccountToys | ( | uint32 | itemId, |
| bool | isFavourite, | ||
| bool | hasFanfare | ||
| ) |
|
private |
Definition at line 213 of file CollectionMgr.h.
|
private |
Definition at line 215 of file CollectionMgr.h.
|
private |
Definition at line 211 of file CollectionMgr.h.
|
private |
Definition at line 212 of file CollectionMgr.h.
|
private |
Definition at line 208 of file CollectionMgr.h.
|
private |
Definition at line 214 of file CollectionMgr.h.
|
private |
Definition at line 210 of file CollectionMgr.h.
|
private |
Definition at line 216 of file CollectionMgr.h.
|
private |
Definition at line 217 of file CollectionMgr.h.
|
private |
Definition at line 218 of file CollectionMgr.h.