TrinityCore
|
#include <LFGGroupData.h>
Public Member Functions | |
LfgGroupData () | |
~LfgGroupData () | |
bool | IsLfgGroup () |
void | SetState (LfgState state) |
void | RestoreState () |
void | AddPlayer (ObjectGuid guid) |
uint8 | RemovePlayer (ObjectGuid guid) |
void | RemoveAllPlayers () |
void | SetLeader (ObjectGuid guid) |
void | SetDungeon (uint32 dungeon) |
void | DecreaseKicksLeft () |
LfgState | GetState () const |
LfgState | GetOldState () const |
GuidSet const & | GetPlayers () const |
uint8 | GetPlayerCount () const |
ObjectGuid | GetLeader () const |
uint32 | GetDungeon (bool asId=true) const |
uint8 | GetKicksLeft () const |
void | SetVoteKick (bool active) |
bool | IsVoteKickActive () const |
Private Attributes | |
LfgState | m_State |
State if group in LFG. More... | |
LfgState | m_OldState |
Old State. More... | |
ObjectGuid | m_Leader |
Leader GUID. More... | |
GuidSet | m_Players |
Players in group. More... | |
uint32 | m_Dungeon |
Dungeon entry. More... | |
uint8 | m_KicksLeft |
Number of kicks left. More... | |
bool | m_VoteKickActive |
Stores all lfg data needed about a group.
lfg::LfgGroupData::LfgGroupData | ( | ) |
void lfg::LfgGroupData::AddPlayer | ( | ObjectGuid | guid | ) |
void lfg::LfgGroupData::DecreaseKicksLeft | ( | ) |
uint8 lfg::LfgGroupData::GetKicksLeft | ( | ) | const |
ObjectGuid lfg::LfgGroupData::GetLeader | ( | ) | const |
LfgState lfg::LfgGroupData::GetOldState | ( | ) | const |
uint8 lfg::LfgGroupData::GetPlayerCount | ( | ) | const |
LfgState lfg::LfgGroupData::GetState | ( | ) | const |
bool lfg::LfgGroupData::IsLfgGroup | ( | ) |
bool lfg::LfgGroupData::IsVoteKickActive | ( | ) | const |
void lfg::LfgGroupData::RemoveAllPlayers | ( | ) |
uint8 lfg::LfgGroupData::RemovePlayer | ( | ObjectGuid | guid | ) |
void lfg::LfgGroupData::RestoreState | ( | ) |
void lfg::LfgGroupData::SetDungeon | ( | uint32 | dungeon | ) |
void lfg::LfgGroupData::SetLeader | ( | ObjectGuid | guid | ) |
void lfg::LfgGroupData::SetState | ( | LfgState | state | ) |
void lfg::LfgGroupData::SetVoteKick | ( | bool | active | ) |
|
private |
Dungeon entry.
|
private |
Number of kicks left.
|
private |
Leader GUID.
|
private |
Old State.
|
private |
Players in group.
|
private |
State if group in LFG.
|
private |