TrinityCore
|
#include <LFGPlayerData.h>
Public Member Functions | |
LfgPlayerData () | |
~LfgPlayerData () | |
void | SetState (LfgState state) |
void | RestoreState () |
void | SetTeam (uint8 team) |
void | SetGroup (ObjectGuid group) |
void | SetRoles (uint8 roles) |
void | SetComment (std::string const &comment) |
void | SetSelectedDungeons (const LfgDungeonSet &dungeons) |
LfgState | GetState () const |
LfgState | GetOldState () const |
uint8 | GetTeam () const |
ObjectGuid | GetGroup () const |
uint8 | GetRoles () const |
std::string const & | GetComment () const |
LfgDungeonSet const & | GetSelectedDungeons () const |
Private Attributes | |
LfgState | m_State |
State if group in LFG. More... | |
LfgState | m_OldState |
Old State - Used to restore state after failed Rolecheck/Proposal. More... | |
uint8 | m_Team |
Player team - determines the queue to join. More... | |
ObjectGuid | m_Group |
Original group of player when joined LFG. More... | |
uint8 | m_Roles |
Roles the player selected when joined LFG. More... | |
std::string | m_Comment |
Player comment used when joined LFG. More... | |
LfgDungeonSet | m_SelectedDungeons |
Selected Dungeons when joined LFG. More... | |
Stores all lfg data needed about the player.
lfg::LfgPlayerData::LfgPlayerData | ( | ) |
std::string const & lfg::LfgPlayerData::GetComment | ( | ) | const |
ObjectGuid lfg::LfgPlayerData::GetGroup | ( | ) | const |
LfgState lfg::LfgPlayerData::GetOldState | ( | ) | const |
uint8 lfg::LfgPlayerData::GetRoles | ( | ) | const |
LfgDungeonSet const & lfg::LfgPlayerData::GetSelectedDungeons | ( | ) | const |
LfgState lfg::LfgPlayerData::GetState | ( | ) | const |
uint8 lfg::LfgPlayerData::GetTeam | ( | ) | const |
void lfg::LfgPlayerData::RestoreState | ( | ) |
void lfg::LfgPlayerData::SetComment | ( | std::string const & | comment | ) |
void lfg::LfgPlayerData::SetGroup | ( | ObjectGuid | group | ) |
void lfg::LfgPlayerData::SetRoles | ( | uint8 | roles | ) |
void lfg::LfgPlayerData::SetSelectedDungeons | ( | const LfgDungeonSet & | dungeons | ) |
void lfg::LfgPlayerData::SetState | ( | LfgState | state | ) |
void lfg::LfgPlayerData::SetTeam | ( | uint8 | team | ) |
|
private |
Player comment used when joined LFG.
|
private |
Original group of player when joined LFG.
|
private |
Old State - Used to restore state after failed Rolecheck/Proposal.
|
private |
Roles the player selected when joined LFG.
|
private |
Selected Dungeons when joined LFG.
|
private |
State if group in LFG.
|
private |
Player team - determines the queue to join.