diff options
author | Spp <spp@jorge.gr> | 2012-10-04 12:58:52 +0200 |
---|---|---|
committer | Spp <spp@jorge.gr> | 2012-10-04 12:58:52 +0200 |
commit | e1bee86ee6f5c3ab7b1da6d1b54c98c2851f11ec (patch) | |
tree | c6e3af4fa8b5c692ac66966b11b5ba529414443a /src/server/game/Battlegrounds/BattlegroundQueue.h | |
parent | 2c961814c1e65feb7e82be193adcea0a0081f00c (diff) |
Core/Battlegrounds: Remove no longer needed files BattlegroundAA/BattlegroundRB
Diffstat (limited to 'src/server/game/Battlegrounds/BattlegroundQueue.h')
-rwxr-xr-x | src/server/game/Battlegrounds/BattlegroundQueue.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/server/game/Battlegrounds/BattlegroundQueue.h b/src/server/game/Battlegrounds/BattlegroundQueue.h index 3610984213e..6f8c774864d 100755 --- a/src/server/game/Battlegrounds/BattlegroundQueue.h +++ b/src/server/game/Battlegrounds/BattlegroundQueue.h @@ -89,7 +89,7 @@ class BattlegroundQueue QueuedPlayersMap m_QueuedPlayers; //we need constant add to begin and constant remove / add from the end, therefore deque suits our problem well - typedef std::list<GroupQueueInfo*> GroupsQueueType; + typedef std::deque<GroupQueueInfo*> GroupsQueueType; /* This two dimensional array is used to store All queued groups @@ -119,7 +119,7 @@ class BattlegroundQueue //one selection pool for horde, other one for alliance SelectionPool m_SelectionPools[BG_TEAMS_COUNT]; - + uint32 GetPlayersInQueue(TeamId id); private: bool InviteGroupToBG(GroupQueueInfo* ginfo, Battleground* bg, uint32 side); @@ -140,9 +140,8 @@ class BGQueueInviteEvent : public BasicEvent public: BGQueueInviteEvent(uint64 pl_guid, uint32 BgInstanceGUID, BattlegroundTypeId BgTypeId, uint8 arenaType, uint32 removeTime) : m_PlayerGuid(pl_guid), m_BgInstanceGUID(BgInstanceGUID), m_BgTypeId(BgTypeId), m_ArenaType(arenaType), m_RemoveTime(removeTime) - { - }; - virtual ~BGQueueInviteEvent() {}; + { } + virtual ~BGQueueInviteEvent() { } virtual bool Execute(uint64 e_time, uint32 p_time); virtual void Abort(uint64 e_time); |