19 #ifndef __BATTLEGROUNDQUEUE_H
20 #define __BATTLEGROUNDQUEUE_H
32 #define COUNT_OF_PLAYERS_TO_AVERAGE_WAIT_TIME 10
43 std::map<ObjectGuid, PlayerQueueInfo*>
Players;
65 #define BG_QUEUE_GROUP_TYPES_COUNT 4
82 void UpdateEvents(
uint32 diff);
89 void RemovePlayer(
ObjectGuid guid,
bool decreaseInvitedCount);
119 bool KickGroup(
uint32 size);
149 m_PlayerGuid(pl_guid), m_BgInstanceGUID(BgInstanceGUID), m_BgTypeId(BgTypeId), m_ArenaType(arenaType), m_RemoveTime(removeTime)
172 : m_PlayerGuid(pl_guid), m_BgInstanceGUID(bgInstanceGUID), m_ArenaType(arenaType), m_RemoveTime(removeTime), m_BgTypeId(BgTypeId), m_BgQueueTypeId(bgQueueTypeId)
#define BG_QUEUE_GROUP_TYPES_COUNT
Definition: BattlegroundQueue.h:65
ArenaType
Definition: Battleground.h:179
Definition: DBCEnums.h:63
BattlegroundTypeId
Definition: SharedDefines.h:4558
BattlegroundTypeId m_BgTypeId
Definition: BattlegroundQueue.h:158
uint32 ArenaTeamRating
Definition: BattlegroundQueue.h:52
std::map< ObjectGuid, PlayerQueueInfo > QueuedPlayersMap
Definition: BattlegroundQueue.h:95
BGQueueRemoveEvent(ObjectGuid pl_guid, uint32 bgInstanceGUID, BattlegroundTypeId BgTypeId, uint8 arenaType, BattlegroundQueueTypeId bgQueueTypeId, uint32 removeTime)
Definition: BattlegroundQueue.h:171
uint32 OpponentsMatchmakerRating
Definition: BattlegroundQueue.h:55
uint32 m_BgInstanceGUID
Definition: BattlegroundQueue.h:157
std::list< Battleground * > BGFreeSlotQueueContainer
Definition: BattlegroundQueue.h:30
GroupQueueInfo * GroupInfo
Definition: BattlegroundQueue.h:38
BGQueueInviteEvent(ObjectGuid pl_guid, uint32 BgInstanceGUID, BattlegroundTypeId BgTypeId, uint8 arenaType, uint32 removeTime)
Definition: BattlegroundQueue.h:148
uint32 m_BgInstanceGUID
Definition: BattlegroundQueue.h:181
BattlegroundBracketId
Definition: DBCEnums.h:57
uint32 PlayerCount
Definition: BattlegroundQueue.h:124
bool IsRated
Definition: BattlegroundQueue.h:46
uint32 Team
Definition: BattlegroundQueue.h:44
virtual void Abort(uint64)
Definition: EventProcessor.h:46
Definition: BattlegroundQueue.h:70
Definition: BattlegroundQueue.h:168
#define BG_TEAMS_COUNT
Definition: SharedDefines.h:4555
Definition: BattlegroundQueue.h:145
#define COUNT_OF_PLAYERS_TO_AVERAGE_WAIT_TIME
Definition: BattlegroundQueue.h:32
virtual ~BGQueueRemoveEvent()
Definition: BattlegroundQueue.h:175
EventProcessor m_events
Definition: BattlegroundQueue.h:138
Definition: BattlegroundQueue.h:60
uint8 ArenaType
Definition: BattlegroundQueue.h:47
uint32 m_RemoveTime
Definition: BattlegroundQueue.h:183
Definition: BattlegroundQueue.h:113
ObjectGuid m_PlayerGuid
Definition: BattlegroundQueue.h:156
uint32_t uint32
Definition: Define.h:150
uint64_t uint64
Definition: Define.h:149
Definition: BattlegroundQueue.h:63
std::list< GroupQueueInfo * > GroupsQueueType
Definition: BattlegroundQueue.h:99
Definition: BattlegroundQueue.h:61
uint32 JoinTime
Definition: BattlegroundQueue.h:49
ObjectGuid m_PlayerGuid
Definition: BattlegroundQueue.h:180
Definition: BattlegroundQueue.h:62
TeamId
Definition: SharedDefines.h:990
Definition: BattlegroundQueue.h:41
uint32 OpponentsTeamRating
Definition: BattlegroundQueue.h:54
virtual bool Execute(uint64, uint32)
Definition: EventProcessor.h:42
uint32 ArenaMatchmakerRating
Definition: BattlegroundQueue.h:53
uint8 m_ArenaType
Definition: BattlegroundQueue.h:159
Definition: EventProcessor.h:28
uint8 m_ArenaType
Definition: BattlegroundQueue.h:182
Definition: BattlegroundQueue.h:75
BattlegroundQueueTypeId
Definition: SharedDefines.h:4732
uint32 LastOnlineTime
Definition: BattlegroundQueue.h:37
Definition: DBCStructure.h:926
#define TC_GAME_API
Definition: Define.h:134
BattlegroundQueueTypeId m_BgQueueTypeId
Definition: BattlegroundQueue.h:185
Definition: EventProcessor.h:58
GroupsQueueType SelectedGroups
Definition: BattlegroundQueue.h:122
uint32 ArenaTeamId
Definition: BattlegroundQueue.h:48
QueuedPlayersMap m_QueuedPlayers
Definition: BattlegroundQueue.h:96
Definition: BattlegroundQueue.h:71
uint8_t uint8
Definition: Define.h:152
BattlegroundTypeId m_BgTypeId
Definition: BattlegroundQueue.h:184
Definition: Battleground.h:235
virtual ~BGQueueInviteEvent()
Definition: BattlegroundQueue.h:151
Definition: ObjectGuid.h:189
uint32 RemoveInviteTime
Definition: BattlegroundQueue.h:50
BattlegroundQueueGroupTypes
Definition: BattlegroundQueue.h:58
BattlegroundQueueInvitationType
Definition: BattlegroundQueue.h:67
BattlegroundTypeId BgTypeId
Definition: BattlegroundQueue.h:45
Definition: BattlegroundQueue.h:69
Definition: BattlegroundQueue.h:35
uint32 GetPlayerCount() const
Definition: BattlegroundQueue.h:120
std::map< ObjectGuid, PlayerQueueInfo * > Players
Definition: BattlegroundQueue.h:43
SelectionPool()
Definition: BattlegroundQueue.h:116
uint32 m_RemoveTime
Definition: BattlegroundQueue.h:160
uint32 IsInvitedToBGInstanceGUID
Definition: BattlegroundQueue.h:51