![]() |
TrinityCore
|
#include <BattlegroundMgr.h>
Classes | |
| struct | ScheduledQueueUpdate |
Private Types | |
| typedef std::map< BattlegroundTypeId, BattlegroundData > | BattlegroundDataContainer |
| typedef std::map< BattlegroundTypeId, uint8 > | BattlegroundSelectionWeightMap |
| typedef std::map< BattlegroundTypeId, BattlegroundTemplate > | BattlegroundTemplateMap |
| typedef std::map< uint32, BattlegroundTemplate * > | BattlegroundMapTemplateContainer |
Private Member Functions | |
| BattlegroundMgr () | |
| ~BattlegroundMgr () | |
| bool | CreateBattleground (BattlegroundTemplate const *bgTemplate) |
| uint32 | CreateClientVisibleInstanceId (BattlegroundTypeId bgTypeId, BattlegroundBracketId bracket_id) |
| BattlegroundTypeId | GetRandomBG (BattlegroundTypeId id) |
| BattlegroundTemplate const * | GetBattlegroundTemplateByTypeId (BattlegroundTypeId id) |
| BattlegroundTemplate const * | GetBattlegroundTemplateByMapId (uint32 mapId) |
Static Private Member Functions | |
| static bool | IsArenaType (BattlegroundTypeId bgTypeId) |
Definition at line 80 of file BattlegroundMgr.h.
|
private |
Definition at line 165 of file BattlegroundMgr.h.
|
private |
Definition at line 206 of file BattlegroundMgr.h.
|
private |
Definition at line 203 of file BattlegroundMgr.h.
|
private |
Definition at line 205 of file BattlegroundMgr.h.
|
private |
Definition at line 60 of file BattlegroundMgr.cpp.
|
private |
Definition at line 66 of file BattlegroundMgr.cpp.
References DeleteAllBattlegrounds().
|
delete |
|
delete |
| void BattlegroundMgr::AddBattleground | ( | Battleground * | bg | ) |
Definition at line 919 of file BattlegroundMgr.cpp.
References bgDataStore, Battleground::GetInstanceID(), Battleground::GetTypeID(), Trinity::unique_trackable_ptr< T >::reset(), and Battleground::SetWeakPtr().
Referenced by CreateBattleground().
| void BattlegroundMgr::AddToBGFreeSlotQueue | ( | BattlegroundTypeId | bgTypeId, |
| Battleground * | bg | ||
| ) |
Definition at line 904 of file BattlegroundMgr.cpp.
References bgDataStore.
|
static |
Definition at line 699 of file BattlegroundMgr.cpp.
References BattlegroundQueueTypeId::BattlemasterListId.
Referenced by Battleground::_ProcessJoin(), Group::CanJoinBattlegroundQueue(), Battleground::EndBattleground(), WorldSession::HandleBattlemasterJoinArena(), WorldSession::HandleBattlemasterJoinOpcode(), Player::LoadFromDB(), Battleground::PlayerAddedToBGCheckIfBGIsRunning(), Battleground::RemovePlayerAtLeave(), and Update().
|
static |
Definition at line 849 of file BattlegroundMgr.cpp.
References BATTLEGROUND_AB, BATTLEGROUND_AV, BATTLEGROUND_EY, BATTLEGROUND_IC, BATTLEGROUND_SA, BATTLEGROUND_WS, HOLIDAY_CALL_TO_ARMS_AB, HOLIDAY_CALL_TO_ARMS_AV, HOLIDAY_CALL_TO_ARMS_EY, HOLIDAY_CALL_TO_ARMS_IC, HOLIDAY_CALL_TO_ARMS_SA, HOLIDAY_CALL_TO_ARMS_WS, and HOLIDAY_NONE.
Referenced by IsBGWeekend().
|
static |
Definition at line 199 of file BattlegroundMgr.cpp.
References WorldPackets::Battleground::BattlefieldStatusActive::ArenaFaction, BattlegroundQueueTypeId::BattlemasterListId, BuildBattlegroundStatusHeader(), DEFAULT_MAX_LEVEL, GetBattlegroundBracketByLevel(), Player::GetBGTeam(), Battleground::GetElapsedTime(), Battleground::GetMapId(), Battleground::GetRemainingTime(), Battleground::GetTypeID(), WorldPackets::Battleground::BattlefieldStatusActive::Hdr, HORDE, BattlegroundTemplate::Id, Battleground::IsRandom(), WorldPackets::Battleground::BattlefieldStatusActive::Mapid, BattlegroundTemplate::MapIDs, PVP_TEAM_ALLIANCE, PVP_TEAM_HORDE, WorldPackets::Battleground::BattlefieldStatusActive::RandomQueueID, sBattlegroundMgr, WorldPackets::Battleground::BattlefieldStatusActive::ShutdownTimer, and WorldPackets::Battleground::BattlefieldStatusActive::StartTimer.
Referenced by Battleground::_ProcessJoin(), Battleground::EndBattleground(), WorldSession::HandleBattleFieldPortOpcode(), WorldSession::HandleRequestBattlefieldStatusOpcode(), and Battleground::PlayerAddedToBGCheckIfBGIsRunning().
|
static |
Definition at line 225 of file BattlegroundMgr.cpp.
References WorldPackets::Battleground::GroupJoinedBattleground::ClientID, ERR_BATTLEGROUND_JOIN_TIMED_OUT, ERR_BATTLEGROUND_NOT_IN_BATTLEGROUND, and WorldPackets::Battleground::GroupJoinedBattleground::Reason.
Referenced by WorldSession::HandleBattleFieldPortOpcode(), WorldSession::HandleBattlemasterJoinArena(), and WorldSession::HandleBattlemasterJoinOpcode().
|
static |
Definition at line 177 of file BattlegroundMgr.cpp.
References Battleground::GetClientInstanceID(), Battleground::GetMaxLevel(), Battleground::GetMinLevel(), BattlegroundQueueTypeId::GetPacked(), WorldPackets::Battleground::BattlefieldStatusHeader::InstanceID, Battleground::isRated(), WorldPackets::Battleground::BattlefieldStatusHeader::QueueID, WorldPackets::Battleground::BattlefieldStatusHeader::QueueSlot, WorldPackets::Battleground::BattlefieldStatusHeader::RangeMax, WorldPackets::Battleground::BattlefieldStatusHeader::RangeMin, and WorldPackets::Battleground::BattlefieldStatusHeader::RegisteredMatch.
Referenced by BuildBattlegroundStatusActive(), BuildBattlegroundStatusNeedConfirmation(), and BuildBattlegroundStatusQueued().
|
static |
Definition at line 192 of file BattlegroundMgr.cpp.
References BuildBattlegroundStatusHeader(), Battleground::GetMapId(), WorldPackets::Battleground::BattlefieldStatusNeedConfirmation::Hdr, WorldPackets::Battleground::BattlefieldStatusNeedConfirmation::Mapid, and WorldPackets::Battleground::BattlefieldStatusNeedConfirmation::Timeout.
Referenced by BGQueueInviteEvent::Execute(), WorldSession::HandleRequestBattlefieldStatusOpcode(), and BattlegroundQueue::InviteGroupToBG().
|
static |
Definition at line 187 of file BattlegroundMgr.cpp.
References WorldPackets::Battleground::BattlefieldStatusNone::QueueSlot.
Referenced by ArenaTeam::DelMember(), BGQueueRemoveEvent::Execute(), WorldSession::HandleBattleFieldPortOpcode(), BattlegroundQueue::RemovePlayer(), and Battleground::RemovePlayerAtLeave().
|
static |
Definition at line 218 of file BattlegroundMgr.cpp.
References WorldPackets::Battleground::BattlefieldStatusQueued::AverageWaitTime, BuildBattlegroundStatusHeader(), GetMSTimeDiffToNow(), WorldPackets::Battleground::BattlefieldStatusQueued::Hdr, and WorldPackets::Battleground::BattlefieldStatusQueued::WaitTime.
Referenced by WorldSession::HandleBattlemasterJoinArena(), WorldSession::HandleBattlemasterJoinOpcode(), and WorldSession::HandleRequestBattlefieldStatusOpcode().
|
static |
Definition at line 232 of file BattlegroundMgr.cpp.
References WorldPackets::Battleground::GroupJoinedBattleground::Reason.
Referenced by WorldSession::HandleBattlemasterJoinArena(), and WorldSession::HandleBattlemasterJoinOpcode().
| void BattlegroundMgr::CheckBattleMasters | ( | ) |
Definition at line 836 of file BattlegroundMgr.cpp.
References mBattleMastersMap, sObjectMgr, TC_LOG_ERROR, and UNIT_NPC_FLAG_BATTLEMASTER.
Referenced by LoadBattleMastersEntry().
|
private |
Definition at line 423 of file BattlegroundMgr.cpp.
References AddBattleground(), BATTLEGROUND_AA, BATTLEGROUND_AB, BATTLEGROUND_AV, BATTLEGROUND_BE, BATTLEGROUND_DS, BATTLEGROUND_EY, BATTLEGROUND_IC, BATTLEGROUND_NA, BATTLEGROUND_RB, BATTLEGROUND_RL, BATTLEGROUND_RV, BATTLEGROUND_SA, BATTLEGROUND_WS, BattlegroundTemplate::BattlemasterEntry, GetBattlegroundTemplate(), BattlegroundTemplate::Id, BattlegroundTemplate::IsArena(), BattlegroundTemplate::MapIDs, BattlegroundTemplate::MaxLevel, BattlegroundTemplate::MaxPlayersPerTeam, BattlegroundTemplate::MaxStartDistSq, BattlegroundTemplate::MinLevel, BattlegroundTemplate::MinPlayersPerTeam, BattlemasterListEntry::Name, BattlegroundTemplate::ScriptId, Battleground::SetArenaorBGType(), Battleground::SetInstanceID(), Battleground::SetLevelRange(), Battleground::SetMapId(), Battleground::SetMaxPlayers(), Battleground::SetMaxPlayersPerTeam(), Battleground::SetMinPlayers(), Battleground::SetMinPlayersPerTeam(), Battleground::SetName(), Battleground::SetRandom(), Battleground::SetScriptId(), Battleground::SetStartMaxDist(), Battleground::SetTeamStartPosition(), Battleground::SetTypeID(), BattlegroundTemplate::StartLocation, sWorld, TEAM_ALLIANCE, and TEAM_HORDE.
Referenced by LoadBattlegroundTemplates().
|
private |
Definition at line 303 of file BattlegroundMgr.cpp.
References bgDataStore, and IsArenaType().
Referenced by CreateNewBattleground().
| Battleground * BattlegroundMgr::CreateNewBattleground | ( | BattlegroundTypeId | bgTypeId, |
| PvPDifficultyEntry const * | bracketEntry, | ||
| uint8 | arenaType, | ||
| bool | isRated | ||
| ) |
Definition at line 329 of file BattlegroundMgr.cpp.
References ARENA_TYPE_2v2, ARENA_TYPE_3v3, ARENA_TYPE_5v5, BATTLEGROUND_AA, BATTLEGROUND_AB, BATTLEGROUND_AV, BATTLEGROUND_BE, BATTLEGROUND_DS, BATTLEGROUND_EY, BATTLEGROUND_IC, BATTLEGROUND_NA, BATTLEGROUND_RB, BATTLEGROUND_RL, BATTLEGROUND_RV, BATTLEGROUND_SA, BATTLEGROUND_WS, CreateClientVisibleInstanceId(), GetBattlegroundTemplate(), PvPDifficultyEntry::GetBracketId(), GetRandomBG(), Battleground::isArena(), Battleground::Reset(), Battleground::SetArenaType(), Battleground::SetBracket(), Battleground::SetClientInstanceID(), Battleground::SetInstanceID(), Battleground::SetMaxPlayers(), Battleground::SetMaxPlayersPerTeam(), Battleground::SetRandom(), Battleground::SetRandomTypeID(), Battleground::SetRated(), Battleground::SetStatus(), Battleground::SetTypeID(), sMapMgr, STATUS_WAIT_JOIN, and TC_LOG_ERROR.
| void BattlegroundMgr::DeleteAllBattlegrounds | ( | ) |
Definition at line 71 of file BattlegroundMgr.cpp.
References bgDataStore.
Referenced by ~BattlegroundMgr().
| Battleground * BattlegroundMgr::GetBattleground | ( | uint32 | InstanceID, |
| BattlegroundTypeId | bgTypeId | ||
| ) |
Definition at line 261 of file BattlegroundMgr.cpp.
References BATTLEGROUND_TYPE_NONE, and bgDataStore.
Referenced by GetBattlegroundThroughClientInstance(), and SendToBattleground().
|
inline |
Definition at line 126 of file BattlegroundMgr.h.
Referenced by Update().
| Battleground * BattlegroundMgr::GetBattlegroundTemplate | ( | BattlegroundTypeId | bgTypeId | ) |
Definition at line 292 of file BattlegroundMgr.cpp.
References bgDataStore.
Referenced by CreateBattleground(), CreateNewBattleground(), GetBattlegroundThroughClientInstance(), ResetHolidays(), and SetHolidayActive().
|
inlineprivate |
Definition at line 195 of file BattlegroundMgr.h.
Referenced by GetRandomBG().
|
inlineprivate |
Definition at line 187 of file BattlegroundMgr.h.
Referenced by GetRandomBG(), and IsValidQueueId().
| Battleground * BattlegroundMgr::GetBattlegroundThroughClientInstance | ( | uint32 | instanceId, |
| BattlegroundTypeId | bgTypeId | ||
| ) |
Definition at line 237 of file BattlegroundMgr.cpp.
References bgDataStore, GetBattleground(), GetBattlegroundTemplate(), and Battleground::isArena().
|
inline |
Definition at line 151 of file BattlegroundMgr.h.
References BATTLEGROUND_TYPE_NONE.
| BGFreeSlotQueueContainer & BattlegroundMgr::GetBGFreeSlotQueueStore | ( | BattlegroundTypeId | bgTypeId | ) |
Definition at line 899 of file BattlegroundMgr.cpp.
References bgDataStore.
| uint32 BattlegroundMgr::GetMaxRatingDifference | ( | ) | const |
Definition at line 767 of file BattlegroundMgr.cpp.
References CONFIG_ARENA_MAX_RATING_DIFFERENCE, and sWorld.
| uint32 BattlegroundMgr::GetPrematureFinishTime | ( | ) | const |
Definition at line 781 of file BattlegroundMgr.cpp.
References CONFIG_BATTLEGROUND_PREMATURE_FINISH_TIMER, and sWorld.
|
private |
Definition at line 882 of file BattlegroundMgr.cpp.
References BATTLEGROUND_TYPE_NONE, GetBattlegroundTemplateByMapId(), GetBattlegroundTemplateByTypeId(), Trinity::Containers::SelectRandomWeightedContainerElement(), and BattlegroundTemplate::Weight.
Referenced by CreateNewBattleground().
| uint32 BattlegroundMgr::GetRatingDiscardTimer | ( | ) | const |
Definition at line 776 of file BattlegroundMgr.cpp.
References CONFIG_ARENA_RATING_DISCARD_TIMER, and sWorld.
| void BattlegroundMgr::InitAutomaticArenaPointDistribution | ( | ) |
Definition at line 599 of file BattlegroundMgr.cpp.
References CONFIG_ARENA_AUTO_DISTRIBUTE_POINTS, CONFIG_ARENA_SEASON_IN_PROGRESS, GameTime::GetGameTime(), m_NextAutoDistributionTime, sWorld, TC_LOG_DEBUG, and WS_ARENA_DISTRIBUTION_TIME.
|
static |
|
inline |
Definition at line 136 of file BattlegroundMgr.h.
|
staticprivate |
Definition at line 684 of file BattlegroundMgr.cpp.
References BATTLEGROUND_AA, BATTLEGROUND_BE, BATTLEGROUND_DS, BATTLEGROUND_NA, BATTLEGROUND_RL, and BATTLEGROUND_RV.
Referenced by CreateClientVisibleInstanceId().
|
static |
Definition at line 877 of file BattlegroundMgr.cpp.
References BGTypeToWeekendHolidayId(), and IsHolidayActive().
Referenced by Battleground::EndBattleground(), and Player::SendBGWeekendWorldStates().
|
static |
Definition at line 694 of file BattlegroundMgr.cpp.
References BATTLEGROUND_RB.
Referenced by WorldSession::HandleBattlemasterJoinOpcode().
|
inline |
Definition at line 137 of file BattlegroundMgr.h.
| bool BattlegroundMgr::IsValidQueueId | ( | BattlegroundQueueTypeId | bgQueueTypeId | ) |
Definition at line 729 of file BattlegroundMgr.cpp.
References BattlegroundTemplate::BattlemasterEntry, BattlegroundQueueTypeId::BattlemasterListId, BattlegroundQueueTypeId::BracketId, GetBattlegroundBracketById(), GetBattlegroundTemplateByTypeId(), BattlemasterListEntry::InstanceType, MAP_ARENA, MAP_BATTLEGROUND, BattlegroundTemplate::MapIDs, and BattlegroundQueueTypeId::TeamSize.
| void BattlegroundMgr::LoadBattlegroundTemplates | ( | ) |
Definition at line 496 of file BattlegroundMgr.cpp.
References _battlegroundMapTemplates, _battlegroundTemplates, BATTLEGROUND_AA, BATTLEGROUND_RB, BattlegroundTemplate::BattlemasterEntry, CreateBattleground(), DISABLE_TYPE_BATTLEGROUND, Field::GetFloat(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt16(), Field::GetUInt32(), Field::GetUInt8(), BattlegroundTemplate::Id, DisableMgr::IsDisabledFor(), BattlemasterListEntry::MapID, BattlegroundTemplate::MapIDs, BattlegroundTemplate::MaxLevel, BattlegroundTemplate::MaxPlayersPerTeam, BattlegroundTemplate::MaxStartDistSq, BattlegroundTemplate::MinLevel, BattlegroundTemplate::MinPlayersPerTeam, Position::Relocate(), sBattlemasterListStore, BattlegroundTemplate::ScriptId, sMapStore, sObjectMgr, BattlegroundTemplate::StartLocation, sWorldSafeLocsStore, TC_LOG_ERROR, TC_LOG_INFO, TEAM_ALLIANCE, TEAM_HORDE, BattlegroundTemplate::Weight, and WorldDatabase.
| void BattlegroundMgr::LoadBattleMastersEntry | ( | ) |
Definition at line 786 of file BattlegroundMgr.cpp.
References CheckBattleMasters(), getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt32(), mBattleMastersMap, sBattlemasterListStore, sObjectMgr, TC_LOG_ERROR, TC_LOG_INFO, UNIT_NPC_FLAG_BATTLEMASTER, and WorldDatabase.
|
delete |
|
delete |
| void BattlegroundMgr::RemoveFromBGFreeSlotQueue | ( | BattlegroundTypeId | bgTypeId, |
| uint32 | instanceId | ||
| ) |
Definition at line 909 of file BattlegroundMgr.cpp.
References bgDataStore, and Trinity::Containers::MapGetValuePtr().
| void BattlegroundMgr::ResetHolidays | ( | ) |
Definition at line 716 of file BattlegroundMgr.cpp.
References BATTLEGROUND_AV, GetBattlegroundTemplate(), and MAX_BATTLEGROUND_TYPE_ID.
| void BattlegroundMgr::ScheduleQueueUpdate | ( | uint32 | arenaMatchmakerRating, |
| BattlegroundQueueTypeId | bgQueueTypeId | ||
| ) |
Definition at line 758 of file BattlegroundMgr.cpp.
References m_QueueUpdateScheduler.
| void BattlegroundMgr::SendAreaSpiritHealerQueryOpcode | ( | Player * | player, |
| Battleground * | bg, | ||
| ObjectGuid | guid | ||
| ) |
Definition at line 676 of file BattlegroundMgr.cpp.
References Battleground::GetLastResurrectTime(), WorldPackets::Battleground::AreaSpiritHealerTime::HealerGuid, Player::SendDirectMessage(), WorldPackets::Battleground::AreaSpiritHealerTime::TimeLeft, and WorldPackets::Battleground::AreaSpiritHealerTime::Write().
| void BattlegroundMgr::SendBattlegroundList | ( | Player * | player, |
| ObjectGuid const & | guid, | ||
| BattlegroundTypeId | bgTypeId | ||
| ) |
Definition at line 617 of file BattlegroundMgr.cpp.
References WorldPackets::Battleground::BattlefieldList::Battlefields, BATTLEGROUND_AA, WorldPackets::Battleground::BattlefieldList::BattlemasterGuid, WorldPackets::Battleground::BattlefieldList::BattlemasterListID, bgDataStore, CONFIG_BG_REWARD_LOSER_HONOR_FIRST, CONFIG_BG_REWARD_LOSER_HONOR_LAST, CONFIG_BG_REWARD_WINNER_ARENA_FIRST, CONFIG_BG_REWARD_WINNER_ARENA_LAST, CONFIG_BG_REWARD_WINNER_HONOR_FIRST, CONFIG_BG_REWARD_WINNER_HONOR_LAST, GetBattlegroundBracketByLevel(), Unit::GetLevel(), Player::GetRandomWinner(), WorldPackets::Battleground::BattlefieldList::HasHolidayWinToday, WorldPackets::Battleground::BattlefieldList::HasRandomWinToday, Trinity::Honor::hk_honor_at_level(), WorldPackets::Battleground::BattlefieldList::HolidayFirstWinArenaCurrencyBonus, WorldPackets::Battleground::BattlefieldList::HolidayLossHonorCurrencyBonus, WorldPackets::Battleground::BattlefieldList::HolidayWinHonorCurrencyBonus, ObjectGuid::IsEmpty(), Trinity::Containers::MapGetValuePtr(), WorldPackets::Battleground::BattlefieldList::MaxLevel, WorldPackets::Battleground::BattlefieldList::MinLevel, WorldPackets::Battleground::BattlefieldList::PvpAnywhere, WorldPackets::Battleground::BattlefieldList::RandomFirstWinArenaCurrencyBonus, WorldPackets::Battleground::BattlefieldList::RandomLossHonorCurrencyBonus, WorldPackets::Battleground::BattlefieldList::RandomWinHonorCurrencyBonus, Player::SendDirectMessage(), sWorld, and WorldPackets::Battleground::BattlefieldList::Write().
| void BattlegroundMgr::SendToBattleground | ( | Player * | player, |
| uint32 | InstanceID, | ||
| BattlegroundTypeId | bgTypeId | ||
| ) |
Definition at line 659 of file BattlegroundMgr.cpp.
References GetBattleground(), Player::GetBGTeam(), WorldObject::GetName(), Position::GetOrientation(), Position::GetPositionX(), Position::GetPositionY(), Position::GetPositionZ(), Player::GetTeam(), Battleground::GetTeamIndexByTeamId(), TC_LOG_DEBUG, TC_LOG_ERROR, Player::TeleportTo(), and Position::ToString().
| void BattlegroundMgr::SetHolidayActive | ( | uint32 | battlegroundId | ) |
Definition at line 723 of file BattlegroundMgr.cpp.
References GetBattlegroundTemplate().
| void BattlegroundMgr::ToggleArenaTesting | ( | ) |
Definition at line 710 of file BattlegroundMgr.cpp.
References LANG_DEBUG_ARENA_OFF, LANG_DEBUG_ARENA_ON, m_ArenaTesting, and sWorld.
| void BattlegroundMgr::ToggleTesting | ( | ) |
Definition at line 704 of file BattlegroundMgr.cpp.
References LANG_DEBUG_BG_OFF, LANG_DEBUG_BG_ON, m_Testing, and sWorld.
| void BattlegroundMgr::Update | ( | uint32 | diff | ) |
Definition at line 87 of file BattlegroundMgr.cpp.
References ARENA_TYPE_2v2, ARENA_TYPE_3v3, ARENA_TYPE_5v5, BATTLEGROUND_AA, BATTLEGROUND_ARENA_POINT_DISTRIBUTION_DAY, BATTLEGROUND_OBJECTIVE_UPDATE_INTERVAL, BattlegroundQueue::BattlegroundQueueUpdate(), BG_BRACKET_ID_FIRST, bgDataStore, BGQueueTypeId(), CONFIG_ARENA_AUTO_DISTRIBUTE_INTERVAL_DAYS, CONFIG_ARENA_AUTO_DISTRIBUTE_POINTS, CONFIG_ARENA_MAX_RATING_DIFFERENCE, CONFIG_ARENA_RATED_UPDATE_TIMER, GetBattlegroundQueue(), Battleground::GetBracketId(), Battleground::GetClientInstanceID(), GameTime::GetGameTime(), m_AutoDistributionTimeChecker, m_BattlegroundQueues, m_NextAutoDistributionTime, m_NextRatedArenaUpdate, m_QueueUpdateScheduler, m_UpdateTimer, Trinity::Containers::MapGetValuePtr(), MAX_BATTLEGROUND_BRACKETS, sArenaTeamMgr, sWorld, TC_LOG_TRACE, Battleground::ToBeDeleted(), Battleground::Update(), and WS_ARENA_DISTRIBUTION_TIME.
|
static |
Definition at line 863 of file BattlegroundMgr.cpp.
References BATTLEGROUND_AB, BATTLEGROUND_AV, BATTLEGROUND_EY, BATTLEGROUND_IC, BATTLEGROUND_SA, BATTLEGROUND_TYPE_NONE, BATTLEGROUND_WS, HOLIDAY_CALL_TO_ARMS_AB, HOLIDAY_CALL_TO_ARMS_AV, HOLIDAY_CALL_TO_ARMS_EY, HOLIDAY_CALL_TO_ARMS_IC, HOLIDAY_CALL_TO_ARMS_SA, and HOLIDAY_CALL_TO_ARMS_WS.
Referenced by GameEventMgr::UpdateWorldStates().
|
private |
Definition at line 208 of file BattlegroundMgr.h.
Referenced by LoadBattlegroundTemplates().
|
private |
Definition at line 207 of file BattlegroundMgr.h.
Referenced by LoadBattlegroundTemplates().
|
private |
Definition at line 166 of file BattlegroundMgr.h.
Referenced by AddBattleground(), AddToBGFreeSlotQueue(), CreateClientVisibleInstanceId(), DeleteAllBattlegrounds(), GetBattleground(), GetBattlegroundTemplate(), GetBattlegroundThroughClientInstance(), GetBGFreeSlotQueueStore(), RemoveFromBGFreeSlotQueue(), SendBattlegroundList(), and Update().
|
private |
Definition at line 183 of file BattlegroundMgr.h.
Referenced by ToggleArenaTesting().
|
private |
Definition at line 181 of file BattlegroundMgr.h.
Referenced by Update().
|
private |
Definition at line 168 of file BattlegroundMgr.h.
Referenced by Update().
|
private |
Definition at line 180 of file BattlegroundMgr.h.
Referenced by InitAutomaticArenaPointDistribution(), and Update().
|
private |
Definition at line 179 of file BattlegroundMgr.h.
Referenced by Update().
|
private |
Definition at line 178 of file BattlegroundMgr.h.
Referenced by ScheduleQueueUpdate(), and Update().
|
private |
Definition at line 184 of file BattlegroundMgr.h.
Referenced by ToggleTesting().
|
private |
Definition at line 182 of file BattlegroundMgr.h.
Referenced by Update().
|
private |
Definition at line 185 of file BattlegroundMgr.h.
Referenced by CheckBattleMasters(), and LoadBattleMastersEntry().