AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
WhoListPlayerInfo Class Reference

#include "WhoListCacheMgr.h"

Public Member Functions

 WhoListPlayerInfo (ObjectGuid guid, TeamId team, AccountTypes security, uint8 level, uint8 clss, uint8 race, uint32 zoneid, uint8 gender, bool visible, std::wstring const &widePlayerName, std::wstring const &wideGuildName, std::string const &playerName, std::string const &guildName)
 
ObjectGuid GetGuid () const
 
TeamId GetTeamId () const
 
AccountTypes GetSecurity () const
 
uint8 GetLevel () const
 
uint8 GetClass () const
 
uint8 GetRace () const
 
uint32 GetZoneId () const
 
uint8 GetGender () const
 
bool IsVisible () const
 
std::wstring const & GetWidePlayerName () const
 
std::wstring const & GetWideGuildName () const
 
std::string const & GetPlayerName () const
 
std::string const & GetGuildName () const
 

Private Attributes

ObjectGuid _guid
 
TeamId _team
 
AccountTypes _security
 
uint8 _level
 
uint8 _class
 
uint8 _race
 
uint32 _zoneid
 
uint8 _gender
 
bool _visible
 
std::wstring _widePlayerName
 
std::wstring _wideGuildName
 
std::string _playerName
 
std::string _guildName
 

Detailed Description

Constructor & Destructor Documentation

◆ WhoListPlayerInfo()

WhoListPlayerInfo::WhoListPlayerInfo ( ObjectGuid  guid,
TeamId  team,
AccountTypes  security,
uint8  level,
uint8  clss,
uint8  race,
uint32  zoneid,
uint8  gender,
bool  visible,
std::wstring const &  widePlayerName,
std::wstring const &  wideGuildName,
std::string const &  playerName,
std::string const &  guildName 
)
inline
29 :
30 _guid(guid),
31 _team(team),
32 _security(security),
33 _level(level),
34 _class(clss),
35 _race(race),
36 _zoneid(zoneid),
37 _gender(gender),
38 _visible(visible),
39 _widePlayerName(widePlayerName),
40 _wideGuildName(wideGuildName),
41 _playerName(playerName),
42 _guildName(guildName) { }
ObjectGuid _guid
Definition: WhoListCacheMgr.h:59
uint8 _level
Definition: WhoListCacheMgr.h:62
uint8 _race
Definition: WhoListCacheMgr.h:64
std::string _guildName
Definition: WhoListCacheMgr.h:71
uint8 _gender
Definition: WhoListCacheMgr.h:66
std::string _playerName
Definition: WhoListCacheMgr.h:70
bool _visible
Definition: WhoListCacheMgr.h:67
std::wstring _widePlayerName
Definition: WhoListCacheMgr.h:68
uint32 _zoneid
Definition: WhoListCacheMgr.h:65
TeamId _team
Definition: WhoListCacheMgr.h:60
uint8 _class
Definition: WhoListCacheMgr.h:63
AccountTypes _security
Definition: WhoListCacheMgr.h:61
std::wstring _wideGuildName
Definition: WhoListCacheMgr.h:69

Member Function Documentation

◆ GetClass()

uint8 WhoListPlayerInfo::GetClass ( ) const
inline
48{ return _class; }

References _class.

◆ GetGender()

uint8 WhoListPlayerInfo::GetGender ( ) const
inline
51{ return _gender; }

References _gender.

◆ GetGuid()

ObjectGuid WhoListPlayerInfo::GetGuid ( ) const
inline
44{ return _guid; }

References _guid.

◆ GetGuildName()

std::string const & WhoListPlayerInfo::GetGuildName ( ) const
inline
56{ return _guildName; }

References _guildName.

◆ GetLevel()

uint8 WhoListPlayerInfo::GetLevel ( ) const
inline
47{ return _level; }

References _level.

◆ GetPlayerName()

std::string const & WhoListPlayerInfo::GetPlayerName ( ) const
inline
55{ return _playerName; }

References _playerName.

◆ GetRace()

uint8 WhoListPlayerInfo::GetRace ( ) const
inline
49{ return _race; }

References _race.

◆ GetSecurity()

AccountTypes WhoListPlayerInfo::GetSecurity ( ) const
inline
46{ return _security; }

References _security.

◆ GetTeamId()

TeamId WhoListPlayerInfo::GetTeamId ( ) const
inline
45{ return _team; }

References _team.

◆ GetWideGuildName()

std::wstring const & WhoListPlayerInfo::GetWideGuildName ( ) const
inline
54{ return _wideGuildName; }

References _wideGuildName.

◆ GetWidePlayerName()

std::wstring const & WhoListPlayerInfo::GetWidePlayerName ( ) const
inline
53{ return _widePlayerName; }

References _widePlayerName.

◆ GetZoneId()

uint32 WhoListPlayerInfo::GetZoneId ( ) const
inline
50{ return _zoneid; }

References _zoneid.

◆ IsVisible()

bool WhoListPlayerInfo::IsVisible ( ) const
inline
52{ return _visible; }

References _visible.

Member Data Documentation

◆ _class

uint8 WhoListPlayerInfo::_class
private

Referenced by GetClass().

◆ _gender

uint8 WhoListPlayerInfo::_gender
private

Referenced by GetGender().

◆ _guid

ObjectGuid WhoListPlayerInfo::_guid
private

Referenced by GetGuid().

◆ _guildName

std::string WhoListPlayerInfo::_guildName
private

Referenced by GetGuildName().

◆ _level

uint8 WhoListPlayerInfo::_level
private

Referenced by GetLevel().

◆ _playerName

std::string WhoListPlayerInfo::_playerName
private

Referenced by GetPlayerName().

◆ _race

uint8 WhoListPlayerInfo::_race
private

Referenced by GetRace().

◆ _security

AccountTypes WhoListPlayerInfo::_security
private

Referenced by GetSecurity().

◆ _team

TeamId WhoListPlayerInfo::_team
private

Referenced by GetTeamId().

◆ _visible

bool WhoListPlayerInfo::_visible
private

Referenced by IsVisible().

◆ _wideGuildName

std::wstring WhoListPlayerInfo::_wideGuildName
private

Referenced by GetWideGuildName().

◆ _widePlayerName

std::wstring WhoListPlayerInfo::_widePlayerName
private

Referenced by GetWidePlayerName().

◆ _zoneid

uint32 WhoListPlayerInfo::_zoneid
private

Referenced by GetZoneId().