Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
BattlegroundMgr.h File Reference
#include "Battleground.h"
#include "BattlegroundQueue.h"
#include "Common.h"
#include "DBCEnums.h"
#include "Platform/Singleton.h"
Include dependency graph for BattlegroundMgr.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  BattlegroundData
class  BattlegroundMgr
struct  BattlegroundMgr::ScheduledQueueUpdate
struct  CreateBattlegroundData

Macros

#define sBattlegroundMgr   Skyfire::Singleton<BattlegroundMgr, Skyfire::NullMutex>::instance()
#define WS_CURRENCY_RESET_TIME   20001

Typedefs

typedef std::set< uint32BattlegroundClientIdsContainer
typedef std::map< uint32, Battleground * > BattlegroundContainer
typedef UNORDERED_MAP< uint32, BattlegroundTypeIdBattleMastersMap

Macro Definition Documentation

◆ sBattlegroundMgr

#define sBattlegroundMgr   Skyfire::Singleton<BattlegroundMgr, Skyfire::NullMutex>::instance()

Definition at line 157 of file BattlegroundMgr.h.

Referenced by Battleground::_ProcessJoin(), Battleground::_ProcessProgress(), BattlegroundQueue::AddGroup(), Battleground::AddPlayer(), Battleground::AddToBGFreeSlotQueue(), BattlegroundQueue::BattlegroundQueueUpdate(), BattlegroundQueue::CheckNormalMatch(), Battleground::EndBattleground(), BGQueueInviteEvent::Execute(), BGQueueRemoveEvent::Execute(), Player::GetBattleground(), Player::GetBGAccessByLevel(), debug_commandscript::GetSOTABattlegroundForBoatCommand(), WorldSession::HandleAreaSpiritHealerQueryOpcode(), WorldSession::HandleBattlefieldListOpcode(), WorldSession::HandleBattleFieldPortOpcode(), WorldSession::HandleBattlefieldStatusOpcode(), WorldSession::HandleBattlemasterHelloOpcode(), WorldSession::HandleBattlemasterJoinArena(), WorldSession::HandleBattlemasterJoinOpcode(), debug_commandscript::HandleDebugArenaCommand(), debug_commandscript::HandleDebugBattlegroundCommand(), WorldSession::HandleGossipHelloOpcode(), WorldSession::HandlePVPLogDataOpcode(), BattlegroundQueue::InviteGroupToBG(), Creature::isCanInteractWithBattleMaster(), Player::LoadFromDB(), WorldSession::LogoutPlayer(), Player::OnGossipSelect(), Battleground::PlayerAddedToBGCheckIfBGIsRunning(), Battleground::PlaySoundToAll(), Battleground::PlaySoundToTeam(), Battleground::RemoveFromBGFreeSlotQueue(), BattlegroundQueue::RemovePlayer(), Battleground::RemovePlayerAtLeave(), BattlegroundAB::Reset(), BattlegroundBFG::Reset(), BattlegroundEY::Reset(), BattlegroundTP::Reset(), BattlegroundWS::Reset(), WorldRunnable::Run(), WorldSession::SendBattleGroundList(), MailDraft::SendMailTo(), World::SetInitialWorldSettings(), BattlegroundSA::ShouldDelayStartForDebug(), Battleground::StartBattleground(), Battleground::Update(), World::Update(), GameEventMgr::UpdateBattlegroundSettings(), Battleground::UpdateWorldState(), Battleground::UpdateWorldStateForPlayer(), GameEventMgr::UpdateWorldStates(), and Battleground::~Battleground().

◆ WS_CURRENCY_RESET_TIME

#define WS_CURRENCY_RESET_TIME   20001

Definition at line 20 of file BattlegroundMgr.h.

Referenced by World::InitCurrencyResetTime(), and World::ResetCurrencyWeekCap().

Typedef Documentation

◆ BattlegroundClientIdsContainer

Definition at line 16 of file BattlegroundMgr.h.

◆ BattlegroundContainer

Definition at line 15 of file BattlegroundMgr.h.

◆ BattleMastersMap