TrinityCore
TraitMgr::PlayerDataAccessor Struct Reference

#include <TraitMgr.h>

Public Member Functions

 PlayerDataAccessor (Player const *player)
 
uint64 GetMoney () const
 
int32 GetCurrencyQuantity (int32 currencyId) const
 
int32 GetLevel () const
 
bool IsQuestRewarded (int32 questId) const
 
bool HasAchieved (int32 achievementId) const
 
uint32 GetPrimarySpecialization () const
 

Private Attributes

Player const * _player
 

Detailed Description

Definition at line 61 of file TraitMgr.h.

Constructor & Destructor Documentation

◆ PlayerDataAccessor()

TraitMgr::PlayerDataAccessor::PlayerDataAccessor ( Player const *  player)
inline

Definition at line 63 of file TraitMgr.h.

Member Function Documentation

◆ GetCurrencyQuantity()

int32 TraitMgr::PlayerDataAccessor::GetCurrencyQuantity ( int32  currencyId) const

Definition at line 30199 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetLevel()

int32 TraitMgr::PlayerDataAccessor::GetLevel ( ) const

Definition at line 30204 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetMoney()

uint64 TraitMgr::PlayerDataAccessor::GetMoney ( ) const

Definition at line 30194 of file Player.cpp.

+ Here is the caller graph for this function:

◆ GetPrimarySpecialization()

uint32 TraitMgr::PlayerDataAccessor::GetPrimarySpecialization ( ) const

Definition at line 30219 of file Player.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HasAchieved()

bool TraitMgr::PlayerDataAccessor::HasAchieved ( int32  achievementId) const

Definition at line 30214 of file Player.cpp.

+ Here is the caller graph for this function:

◆ IsQuestRewarded()

bool TraitMgr::PlayerDataAccessor::IsQuestRewarded ( int32  questId) const

Definition at line 30209 of file Player.cpp.

+ Here is the caller graph for this function:

Member Data Documentation

◆ _player

Player const* TraitMgr::PlayerDataAccessor::_player
private

Definition at line 73 of file TraitMgr.h.


The documentation for this struct was generated from the following files: