OregonCore  revision 3611e8a-git
Your Favourite TBC server
BattlegroundMgr.h File Reference
#include "Battleground.h"
#include "Policies/Singleton.h"

Go to the source code of this file.

Classes

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

Macros

#define MAX_BATTLEGROUND_QUEUES   7
 
#define MAX_BATTLEGROUND_TYPES   9
 
#define MAX_BATTLEGROUND_QUEUE_TYPES   8
 
#define BATTLEGROUND_ARENA_POINT_DISTRIBUTION_DAY   86400
 
#define sBattlegroundMgr   Oregon::Singleton<BattlegroundMgr>::Instance()
 

Typedefs

typedef std::map< uint32, Battleground * > BattlegroundSet
 
typedef std::list< Battleground * > BGFreeSlotQueueType
 

Macro Definition Documentation

#define BATTLEGROUND_ARENA_POINT_DISTRIBUTION_DAY   86400
#define MAX_BATTLEGROUND_QUEUE_TYPES   8

Definition at line 36 of file BattlegroundMgr.h.

#define sBattlegroundMgr   Oregon::Singleton<BattlegroundMgr>::Instance()

Definition at line 282 of file BattlegroundMgr.h.

Referenced by BattlegroundQueue::AddPlayer(), Battleground::AddPlayer(), Battleground::AddToBGFreeSlotQueue(), BattlegroundQueue::BGEndedRemoveInvites(), ArenaTeam::DelMember(), Battleground::EndBattleground(), Battleground::EndNow(), BGQueueInviteEvent::Execute(), BGQueueRemoveEvent::Execute(), Player::GetBattleground(), Player::GetBGAccessByLevel(), WorldSession::HandleAreaSpiritHealerQueryOpcode(), WorldSession::HandleBattlefieldStatusOpcode(), WorldSession::HandleBattlegroundArenaJoin(), WorldSession::HandleBattlegroundJoinOpcode(), WorldSession::HandleBattlegroundListOpcode(), WorldSession::HandleBattlegroundPlayerPortOpcode(), WorldSession::HandleBattlegroundPVPlogdataOpcode(), ChatHandler::HandleDebugArenaCommand(), ChatHandler::HandleDebugBattlegroundCommand(), ChatHandler::HandleFlushArenaPointsCommand(), WorldSession::HandleGossipHelloOpcode(), BattlegroundQueue::InviteGroupToBG(), Player::LoadFromDB(), WorldSession::LogoutPlayer(), Battleground::PlayerRelogin(), Battleground::PlaySoundToAll(), Battleground::PlaySoundToTeam(), Battleground::RemoveFromBGFreeSlotQueue(), BattlegroundQueue::RemovePlayer(), Battleground::RemovePlayerAtLeave(), Master::Run(), WorldSession::SendBattlegGroundList(), World::SetInitialWorldSettings(), BattlegroundQueue::Update(), Battleground::Update(), World::Update(), GameEventMgr::UpdateBattlegroundSettings(), Battleground::UpdateWorldState(), Battleground::UpdateWorldStateForPlayer(), and Battleground::~Battleground().

Typedef Documentation

typedef std::map<uint32, Battleground*> BattlegroundSet

Definition at line 24 of file BattlegroundMgr.h.

typedef std::list<Battleground*> BGFreeSlotQueueType

Definition at line 30 of file BattlegroundMgr.h.