TrinityCore
BattlegroundQueue.h File Reference
#include "Common.h"
#include "DBCEnums.h"
#include "Battleground.h"
#include "EventProcessor.h"
+ Include dependency graph for BattlegroundQueue.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  PlayerQueueInfo
 
struct  GroupQueueInfo
 
class  BattlegroundQueue
 
class  BattlegroundQueue::SelectionPool
 
class  BGQueueInviteEvent
 
class  BGQueueRemoveEvent
 

Macros

#define COUNT_OF_PLAYERS_TO_AVERAGE_WAIT_TIME   10
 
#define BG_QUEUE_GROUP_TYPES_COUNT   4
 

Typedefs

typedef std::list< Battleground * > BGFreeSlotQueueContainer
 

Enumerations

enum  BattlegroundQueueGroupTypes { BG_QUEUE_PREMADE_ALLIANCE = 0 , BG_QUEUE_PREMADE_HORDE = 1 , BG_QUEUE_NORMAL_ALLIANCE = 2 , BG_QUEUE_NORMAL_HORDE = 3 }
 
enum  BattlegroundQueueInvitationType { BG_QUEUE_INVITATION_TYPE_NO_BALANCE = 0 , BG_QUEUE_INVITATION_TYPE_BALANCED = 1 , BG_QUEUE_INVITATION_TYPE_EVEN = 2 }
 

Macro Definition Documentation

◆ BG_QUEUE_GROUP_TYPES_COUNT

#define BG_QUEUE_GROUP_TYPES_COUNT   4

Definition at line 59 of file BattlegroundQueue.h.

◆ COUNT_OF_PLAYERS_TO_AVERAGE_WAIT_TIME

#define COUNT_OF_PLAYERS_TO_AVERAGE_WAIT_TIME   10

Definition at line 29 of file BattlegroundQueue.h.

Typedef Documentation

◆ BGFreeSlotQueueContainer

Definition at line 27 of file BattlegroundQueue.h.

Enumeration Type Documentation

◆ BattlegroundQueueGroupTypes

Enumerator
BG_QUEUE_PREMADE_ALLIANCE 
BG_QUEUE_PREMADE_HORDE 
BG_QUEUE_NORMAL_ALLIANCE 
BG_QUEUE_NORMAL_HORDE 

Definition at line 52 of file BattlegroundQueue.h.

◆ BattlegroundQueueInvitationType

Enumerator
BG_QUEUE_INVITATION_TYPE_NO_BALANCE 
BG_QUEUE_INVITATION_TYPE_BALANCED 
BG_QUEUE_INVITATION_TYPE_EVEN 

Definition at line 61 of file BattlegroundQueue.h.