TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
BattlegroundQueue.h File Reference
#include "Common.h"
#include "DBCEnums.h"
#include "Battleground.h"
#include "EventProcessor.h"
#include <deque>
+ 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

#define BG_QUEUE_GROUP_TYPES_COUNT   4
#define COUNT_OF_PLAYERS_TO_AVERAGE_WAIT_TIME   10

Typedef Documentation

Enumeration Type Documentation

Enumerator
BG_QUEUE_PREMADE_ALLIANCE 
BG_QUEUE_PREMADE_HORDE 
BG_QUEUE_NORMAL_ALLIANCE 
BG_QUEUE_NORMAL_HORDE 
59 {
64 };
Definition: BattlegroundQueue.h:60
Definition: BattlegroundQueue.h:63
Definition: BattlegroundQueue.h:61
Definition: BattlegroundQueue.h:62
Enumerator
BG_QUEUE_INVITATION_TYPE_NO_BALANCE 
BG_QUEUE_INVITATION_TYPE_BALANCED 
BG_QUEUE_INVITATION_TYPE_EVEN 
68 {
69  BG_QUEUE_INVITATION_TYPE_NO_BALANCE = 0, // no balance: N+M vs N players
70  BG_QUEUE_INVITATION_TYPE_BALANCED = 1, // teams balanced: N+1 vs N players
71  BG_QUEUE_INVITATION_TYPE_EVEN = 2 // teams even: N vs N players
72 };
Definition: BattlegroundQueue.h:70
Definition: BattlegroundQueue.h:71
Definition: BattlegroundQueue.h:69