#include <BattlegroundQueue.h>
BattlegroundQueue::SelectionPool::SelectionPool |
( |
| ) |
|
|
inline |
uint32 PlayerCount
Definition: BattlegroundQueue.h:124
uint32 PlayerCount
Definition: BattlegroundQueue.h:124
GroupsQueueType SelectedGroups
Definition: BattlegroundQueue.h:122
std::map< ObjectGuid, PlayerQueueInfo * > Players
Definition: BattlegroundQueue.h:43
uint32 IsInvitedToBGInstanceGUID
Definition: BattlegroundQueue.h:51
uint32 BattlegroundQueue::SelectionPool::GetPlayerCount |
( |
| ) |
const |
|
inline |
uint32 PlayerCount
Definition: BattlegroundQueue.h:124
void BattlegroundQueue::SelectionPool::Init |
( |
| ) |
|
uint32 PlayerCount
Definition: BattlegroundQueue.h:124
GroupsQueueType SelectedGroups
Definition: BattlegroundQueue.h:122
bool BattlegroundQueue::SelectionPool::KickGroup |
( |
uint32 |
size | ) |
|
81 for (GroupsQueueType::iterator itr = groupToKick; itr !=
SelectedGroups.end(); ++itr)
83 if (
abs((
int32)((*itr)->Players.size() - size)) <= 1)
88 else if (!found && (*itr)->Players.size() >= (*groupToKick)->Players.size())
99 if (ginfo->
Players.size() <= size + 1)
G3D::Matrix abs(const G3D::Matrix &M)
Definition: Matrix.h:632
uint32 PlayerCount
Definition: BattlegroundQueue.h:124
int32_t int32
Definition: Define.h:146
Definition: BattlegroundQueue.h:41
GroupsQueueType SelectedGroups
Definition: BattlegroundQueue.h:122
uint32 GetPlayerCount() const
Definition: BattlegroundQueue.h:120
std::map< ObjectGuid, PlayerQueueInfo * > Players
Definition: BattlegroundQueue.h:43
uint32 BattlegroundQueue::SelectionPool::PlayerCount |
|
private |
The documentation for this class was generated from the following files: