#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 (LfgDungeonSet const &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 |
void | SetNumberOfPartyMembersAtJoin (uint8 count) |
uint8 | GetNumberOfPartyMembersAtJoin () |
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... | |
uint8 | m_NumberOfPartyMembersAtJoin |
Stores all lfg data needed about the player.
Definition at line 29 of file LFGPlayerData.h.
lfg::LfgPlayerData::LfgPlayerData | ( | ) |
Definition at line 23 of file LFGPlayerData.cpp.
lfg::LfgPlayerData::~LfgPlayerData | ( | ) |
Definition at line 27 of file LFGPlayerData.cpp.
std::string const & lfg::LfgPlayerData::GetComment | ( | ) | const |
Definition at line 107 of file LFGPlayerData.cpp.
ObjectGuid lfg::LfgPlayerData::GetGroup | ( | ) | const |
Definition at line 97 of file LFGPlayerData.cpp.
uint8 lfg::LfgPlayerData::GetNumberOfPartyMembersAtJoin | ( | ) |
Definition at line 122 of file LFGPlayerData.cpp.
LfgState lfg::LfgPlayerData::GetOldState | ( | ) | const |
uint8 lfg::LfgPlayerData::GetRoles | ( | ) | const |
Definition at line 102 of file LFGPlayerData.cpp.
LfgDungeonSet const & lfg::LfgPlayerData::GetSelectedDungeons | ( | ) | const |
LfgState lfg::LfgPlayerData::GetState | ( | ) | const |
uint8 lfg::LfgPlayerData::GetTeam | ( | ) | const |
Definition at line 92 of file LFGPlayerData.cpp.
void lfg::LfgPlayerData::RestoreState | ( | ) |
void lfg::LfgPlayerData::SetComment | ( | std::string const & | comment | ) |
Definition at line 72 of file LFGPlayerData.cpp.
void lfg::LfgPlayerData::SetGroup | ( | ObjectGuid | group | ) |
Definition at line 62 of file LFGPlayerData.cpp.
void lfg::LfgPlayerData::SetNumberOfPartyMembersAtJoin | ( | uint8 | count | ) |
Definition at line 117 of file LFGPlayerData.cpp.
void lfg::LfgPlayerData::SetRoles | ( | uint8 | roles | ) |
Definition at line 67 of file LFGPlayerData.cpp.
void lfg::LfgPlayerData::SetSelectedDungeons | ( | LfgDungeonSet const & | dungeons | ) |
Definition at line 77 of file LFGPlayerData.cpp.
void lfg::LfgPlayerData::SetState | ( | LfgState | state | ) |
void lfg::LfgPlayerData::SetTeam | ( | uint8 | team | ) |
Definition at line 57 of file LFGPlayerData.cpp.
|
private |
Player comment used when joined LFG.
Definition at line 71 of file LFGPlayerData.h.
|
private |
Original group of player when joined LFG.
Definition at line 67 of file LFGPlayerData.h.
|
private |
Definition at line 75 of file LFGPlayerData.h.
|
private |
Old State - Used to restore state after failed Rolecheck/Proposal.
Definition at line 64 of file LFGPlayerData.h.
|
private |
Roles the player selected when joined LFG.
Definition at line 70 of file LFGPlayerData.h.
|
private |
Selected Dungeons when joined LFG.
Definition at line 72 of file LFGPlayerData.h.
|
private |
State if group in LFG.
Definition at line 63 of file LFGPlayerData.h.
|
private |
Player team - determines the queue to join.
Definition at line 66 of file LFGPlayerData.h.