TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
LFGuildPlayer Struct Reference

Holds all informations about a player's finder settings. NOT stored in database. More...

#include <GuildFinderMgr.h>

Public Member Functions

 LFGuildPlayer ()
 
 LFGuildPlayer (ObjectGuid const &guid, uint8 role, uint8 availability, uint8 interests, uint8 level)
 
 LFGuildPlayer (ObjectGuid const &guid, uint8 role, uint8 availability, uint8 interests, uint8 level, std::string &comment)
 
 LFGuildPlayer (LFGuildPlayer const &settings)
 
ObjectGuid constGetGUID () const
 
uint8 GetClassRoles () const
 
uint8 GetAvailability () const
 
uint8 GetInterests () const
 
uint8 GetLevel () const
 
std::string constGetComment () const
 

Private Attributes

std::string _comment
 
ObjectGuid _guid
 
uint8 _roles
 
uint8 _availability
 
uint8 _interests
 
uint8 _level
 

Detailed Description

Holds all informations about a player's finder settings. NOT stored in database.

Constructor & Destructor Documentation

LFGuildPlayer::LFGuildPlayer ( )
inline
105  {
106  _roles = 0;
107  _availability = 0;
108  _interests = 0;
109  _level = 0;
110  }
uint8 _level
Definition: GuildFinderMgr.h:152
uint8 _availability
Definition: GuildFinderMgr.h:150
uint8 _interests
Definition: GuildFinderMgr.h:151
uint8 _roles
Definition: GuildFinderMgr.h:149
LFGuildPlayer::LFGuildPlayer ( ObjectGuid const guid,
uint8  role,
uint8  availability,
uint8  interests,
uint8  level 
)
inline
113  {
114  _guid = guid;
115  _roles = role;
116  _availability = availability;
117  _interests = interests;
118  _level = level;
119  }
uint8 _level
Definition: GuildFinderMgr.h:152
uint8 _availability
Definition: GuildFinderMgr.h:150
uint8 _interests
Definition: GuildFinderMgr.h:151
ObjectGuid _guid
Definition: GuildFinderMgr.h:148
uint8 _roles
Definition: GuildFinderMgr.h:149
LFGuildPlayer::LFGuildPlayer ( ObjectGuid const guid,
uint8  role,
uint8  availability,
uint8  interests,
uint8  level,
std::string &  comment 
)
inline
121  : _comment(comment)
122  {
123  _guid = guid;
124  _roles = role;
125  _availability = availability;
126  _interests = interests;
127  _level = level;
128  }
uint8 _level
Definition: GuildFinderMgr.h:152
uint8 _availability
Definition: GuildFinderMgr.h:150
uint8 _interests
Definition: GuildFinderMgr.h:151
ObjectGuid _guid
Definition: GuildFinderMgr.h:148
std::string _comment
Definition: GuildFinderMgr.h:147
uint8 _roles
Definition: GuildFinderMgr.h:149
LFGuildPlayer::LFGuildPlayer ( LFGuildPlayer const settings)
inline
130  : _comment(settings.GetComment())
131  {
132  _guid = settings.GetGUID();
133  _roles = settings.GetClassRoles();
134  _availability = settings.GetAvailability();
135  _interests = settings.GetInterests();
136  _level = settings.GetLevel();
137  }
uint8 _level
Definition: GuildFinderMgr.h:152
uint8 _availability
Definition: GuildFinderMgr.h:150
uint8 _interests
Definition: GuildFinderMgr.h:151
ObjectGuid _guid
Definition: GuildFinderMgr.h:148
std::string _comment
Definition: GuildFinderMgr.h:147
uint8 _roles
Definition: GuildFinderMgr.h:149

+ Here is the call graph for this function:

Member Function Documentation

uint8 LFGuildPlayer::GetAvailability ( ) const
inline
141 { return _availability; }
uint8 _availability
Definition: GuildFinderMgr.h:150

+ Here is the caller graph for this function:

uint8 LFGuildPlayer::GetClassRoles ( ) const
inline
140 { return _roles; }
uint8 _roles
Definition: GuildFinderMgr.h:149

+ Here is the caller graph for this function:

std::string const& LFGuildPlayer::GetComment ( ) const
inline
144 { return _comment; }
std::string _comment
Definition: GuildFinderMgr.h:147

+ Here is the caller graph for this function:

ObjectGuid const& LFGuildPlayer::GetGUID ( ) const
inline
139 { return _guid; }
ObjectGuid _guid
Definition: GuildFinderMgr.h:148

+ Here is the caller graph for this function:

uint8 LFGuildPlayer::GetInterests ( ) const
inline
142 { return _interests; }
uint8 _interests
Definition: GuildFinderMgr.h:151

+ Here is the caller graph for this function:

uint8 LFGuildPlayer::GetLevel ( ) const
inline
143 { return _level; }
uint8 _level
Definition: GuildFinderMgr.h:152

+ Here is the caller graph for this function:

Member Data Documentation

uint8 LFGuildPlayer::_availability
private
std::string LFGuildPlayer::_comment
private
ObjectGuid LFGuildPlayer::_guid
private
uint8 LFGuildPlayer::_interests
private
uint8 LFGuildPlayer::_level
private
uint8 LFGuildPlayer::_roles
private

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