18 #ifndef CollectionMgr_h__
19 #define CollectionMgr_h__
59 void ToySetFavorite(
uint32 itemId,
bool favorite);
61 bool AddToy(
uint32 itemId,
bool isFavourite );
62 bool UpdateAccountToys(
uint32 itemId,
bool isFavourite );
72 void CheckHeirloomUpgrades(
Item* item);
75 bool CanApplyHeirloomXpBonus(
uint32 itemId,
uint32 level);
88 #endif // CollectionMgr_h__
Definition: CollectionMgr.h:27
std::shared_ptr< PreparedResultSet > PreparedQueryResult
Definition: QueryResult.h:107
ToyBoxContainer _toys
Definition: CollectionMgr.h:84
HeirloomItemFlags
Definition: CollectionMgr.h:30
ToyBoxContainer const & GetAccountToys() const
Definition: CollectionMgr.h:64
HeirloomData(uint32 _flags=0, uint32 _bonusId=0)
Definition: CollectionMgr.h:39
std::map< uint32, bool > ToyBoxContainer
Definition: CollectionMgr.h:45
WorldSession * GetOwner() const
Definition: CollectionMgr.h:53
WorldSession * _owner
Definition: CollectionMgr.h:82
Definition: CollectionMgr.h:25
std::map< uint32, HeirloomData > HeirloomContainer
Definition: CollectionMgr.h:46
uint32_t uint32
Definition: Define.h:150
uint32 flags
Definition: CollectionMgr.h:41
#define TC_GAME_API
Definition: Define.h:134
HeirloomContainer _heirlooms
Definition: CollectionMgr.h:85
Definition: CollectionMgr.h:26
Definition: CollectionMgr.h:34
Player session in the World.
Definition: WorldSession.h:882
uint8 flags
Definition: DisableMgr.cpp:44
HeirloomPlayerFlags
Definition: CollectionMgr.h:23
Definition: CollectionMgr.h:37
uint32 bonusId
Definition: CollectionMgr.h:42
Definition: CollectionMgr.h:33
Definition: CollectionMgr.h:48
HeirloomContainer const & GetAccountHeirlooms() const
Definition: CollectionMgr.h:77
Definition: CollectionMgr.h:32
std::shared_ptr< Transaction > SQLTransaction
Definition: Transaction.h:58
CollectionMgr(WorldSession *owner)
Definition: CollectionMgr.h:51