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

Holds settings for a guild in the finder system. Saved to database. More...

#include <GuildFinderMgr.h>

Public Member Functions

 LFGuildSettings ()
 
 LFGuildSettings (bool listed, TeamId team)
 
 LFGuildSettings (bool listed, TeamId team, ObjectGuid const &guid, uint8 role, uint8 availability, uint8 interests, uint8 level)
 
 LFGuildSettings (bool listed, TeamId team, ObjectGuid const &guid, uint8 role, uint8 availability, uint8 interests, uint8 level, std::string &comment)
 
 LFGuildSettings (LFGuildSettings const &settings)
 
bool IsListed () const
 
void SetListed (bool state)
 
TeamId GetTeam () const
 
- Public Member Functions inherited from LFGuildPlayer
 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

bool _listed
 
TeamId _team
 

Detailed Description

Holds settings for a guild in the finder system. Saved to database.

Constructor & Destructor Documentation

LFGuildSettings::LFGuildSettings ( )
inline
159 : LFGuildPlayer(), _listed(false), _team(TEAM_ALLIANCE) {}
bool _listed
Definition: GuildFinderMgr.h:177
Definition: SharedDefines.h:992
LFGuildPlayer()
Definition: GuildFinderMgr.h:104
TeamId _team
Definition: GuildFinderMgr.h:178
LFGuildSettings::LFGuildSettings ( bool  listed,
TeamId  team 
)
inline
161 : LFGuildPlayer(), _listed(listed), _team(team) {}
bool _listed
Definition: GuildFinderMgr.h:177
LFGuildPlayer()
Definition: GuildFinderMgr.h:104
TeamId _team
Definition: GuildFinderMgr.h:178
LFGuildSettings::LFGuildSettings ( bool  listed,
TeamId  team,
ObjectGuid const guid,
uint8  role,
uint8  availability,
uint8  interests,
uint8  level 
)
inline
163  :
164  LFGuildPlayer(guid, role, availability, interests, level), _listed(listed), _team(team) {}
bool _listed
Definition: GuildFinderMgr.h:177
LFGuildPlayer()
Definition: GuildFinderMgr.h:104
TeamId _team
Definition: GuildFinderMgr.h:178
LFGuildSettings::LFGuildSettings ( bool  listed,
TeamId  team,
ObjectGuid const guid,
uint8  role,
uint8  availability,
uint8  interests,
uint8  level,
std::string &  comment 
)
inline
166  :
167  LFGuildPlayer(guid, role, availability, interests, level, comment), _listed(listed), _team(team) {}
bool _listed
Definition: GuildFinderMgr.h:177
LFGuildPlayer()
Definition: GuildFinderMgr.h:104
TeamId _team
Definition: GuildFinderMgr.h:178
LFGuildSettings::LFGuildSettings ( LFGuildSettings const settings)
inline
169  :
170  LFGuildPlayer(settings), _listed(settings.IsListed()), _team(settings.GetTeam()) {}
bool _listed
Definition: GuildFinderMgr.h:177
LFGuildPlayer()
Definition: GuildFinderMgr.h:104
TeamId _team
Definition: GuildFinderMgr.h:178

Member Function Documentation

TeamId LFGuildSettings::GetTeam ( ) const
inline
175 { return _team; }
TeamId _team
Definition: GuildFinderMgr.h:178

+ Here is the caller graph for this function:

bool LFGuildSettings::IsListed ( ) const
inline
172 { return _listed; }
bool _listed
Definition: GuildFinderMgr.h:177

+ Here is the caller graph for this function:

void LFGuildSettings::SetListed ( bool  state)
inline
173 { _listed = state; }
bool _listed
Definition: GuildFinderMgr.h:177

Member Data Documentation

bool LFGuildSettings::_listed
private
TeamId LFGuildSettings::_team
private

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