![]() |
TrinityCore
|
#include <BattlegroundMgr.h>
Static Public Member Functions | |
| static BattlegroundMgr * | instance () |
| static BattlegroundQueueTypeId | BGQueueTypeId (BattlegroundTypeId bgTypeId, uint8 arenaType) |
| static BattlegroundTypeId | BGTemplateId (BattlegroundQueueTypeId bgQueueTypeId) |
| static uint8 | BGArenaType (BattlegroundQueueTypeId bgQueueTypeId) |
| static HolidayIds | BGTypeToWeekendHolidayId (BattlegroundTypeId bgTypeId) |
| static BattlegroundTypeId | WeekendHolidayIdToBGType (HolidayIds holiday) |
| static bool | IsBGWeekend (BattlegroundTypeId bgTypeId) |
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) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Here is the call graph for this function:| void BattlegroundMgr::AddBattleground | ( | Battleground * | bg | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void BattlegroundMgr::AddToBGFreeSlotQueue | ( | BattlegroundTypeId | bgTypeId, |
| Battleground * | bg | ||
| ) |
|
static |
Here is the caller graph for this function:
|
static |
Here is the caller graph for this function:
|
static |
Here is the caller graph for this function:
|
static |
Here is the caller graph for this function:| void BattlegroundMgr::BuildBattlegroundStatusActive | ( | WorldPackets::Battleground::BattlefieldStatusActive * | battlefieldStatus, |
| Battleground * | bg, | ||
| Player * | player, | ||
| uint32 | ticketId, | ||
| uint32 | joinTime, | ||
| uint32 | arenaType | ||
| ) |
Here is the call graph for this function:| void BattlegroundMgr::BuildBattlegroundStatusFailed | ( | WorldPackets::Battleground::BattlefieldStatusFailed * | battlefieldStatus, |
| Battleground * | bg, | ||
| Player * | pPlayer, | ||
| uint32 | ticketId, | ||
| uint32 | arenaType, | ||
| GroupJoinBattlegroundResult | result, | ||
| ObjectGuid const * | errorGuid = nullptr |
||
| ) |
Here is the call graph for this function:| void BattlegroundMgr::BuildBattlegroundStatusHeader | ( | WorldPackets::Battleground::BattlefieldStatusHeader * | battlefieldStatus, |
| Battleground * | bg, | ||
| Player * | player, | ||
| uint32 | ticketId, | ||
| uint32 | joinTime, | ||
| uint32 | arenaType | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void BattlegroundMgr::BuildBattlegroundStatusNeedConfirmation | ( | WorldPackets::Battleground::BattlefieldStatusNeedConfirmation * | battlefieldStatus, |
| Battleground * | bg, | ||
| Player * | player, | ||
| uint32 | ticketId, | ||
| uint32 | joinTime, | ||
| uint32 | timeout, | ||
| uint32 | arenaType | ||
| ) |
Here is the call graph for this function:| void BattlegroundMgr::BuildBattlegroundStatusNone | ( | WorldPackets::Battleground::BattlefieldStatusNone * | battlefieldStatus, |
| Player * | player, | ||
| uint32 | ticketId, | ||
| uint32 | joinTime, | ||
| uint32 | arenaType | ||
| ) |
| void BattlegroundMgr::BuildBattlegroundStatusQueued | ( | WorldPackets::Battleground::BattlefieldStatusQueued * | battlefieldStatus, |
| Battleground * | bg, | ||
| Player * | player, | ||
| uint32 | ticketId, | ||
| uint32 | joinTime, | ||
| uint32 | avgWaitTime, | ||
| uint32 | arenaType, | ||
| bool | asGroup | ||
| ) |
Here is the call graph for this function:| void BattlegroundMgr::CheckBattleMasters | ( | ) |
Here is the caller graph for this function:
|
private |
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Here is the call graph for this function:
Here is the caller graph for this function:| Battleground * BattlegroundMgr::CreateNewBattleground | ( | BattlegroundTypeId | bgTypeId, |
| PvPDifficultyEntry const * | bracketEntry, | ||
| uint8 | arenaType, | ||
| bool | isRated | ||
| ) |
Here is the call graph for this function:| void BattlegroundMgr::DeleteAllBattlegrounds | ( | ) |
Here is the caller graph for this function:| Battleground * BattlegroundMgr::GetBattleground | ( | uint32 | InstanceID, |
| BattlegroundTypeId | bgTypeId | ||
| ) |
Here is the caller graph for this function:
|
inline |
| Battleground * BattlegroundMgr::GetBattlegroundTemplate | ( | BattlegroundTypeId | bgTypeId | ) |
Here is the caller graph for this function:
|
inlineprivate |
Here is the caller graph for this function:
|
inlineprivate |
Here is the caller graph for this function:
|
inline |
| BGFreeSlotQueueContainer & BattlegroundMgr::GetBGFreeSlotQueueStore | ( | BattlegroundTypeId | bgTypeId | ) |
| uint32 BattlegroundMgr::GetMaxRatingDifference | ( | ) | const |
| uint32 BattlegroundMgr::GetPrematureFinishTime | ( | ) | const |
|
private |
Here is the call graph for this function:
Here is the caller graph for this function:| uint32 BattlegroundMgr::GetRatingDiscardTimer | ( | ) | const |
|
static |
|
inline |
|
staticprivate |
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
| void BattlegroundMgr::LoadBattlegroundTemplates | ( | ) |
Here is the call graph for this function:| void BattlegroundMgr::LoadBattleMastersEntry | ( | ) |
Here is the call graph for this function:| void BattlegroundMgr::RemoveBattleground | ( | BattlegroundTypeId | bgTypeId, |
| uint32 | instanceId | ||
| ) |
| void BattlegroundMgr::RemoveFromBGFreeSlotQueue | ( | BattlegroundTypeId | bgTypeId, |
| uint32 | instanceId | ||
| ) |
| void BattlegroundMgr::ScheduleQueueUpdate | ( | uint32 | arenaMatchmakerRating, |
| uint8 | arenaType, | ||
| BattlegroundQueueTypeId | bgQueueTypeId, | ||
| BattlegroundTypeId | bgTypeId, | ||
| BattlegroundBracketId | bracket_id | ||
| ) |
| void BattlegroundMgr::SendAreaSpiritHealerQueryOpcode | ( | Player * | player, |
| Battleground * | bg, | ||
| ObjectGuid const & | guid | ||
| ) |
Here is the call graph for this function:| void BattlegroundMgr::SendBattlegroundList | ( | Player * | player, |
| ObjectGuid const & | guid, | ||
| BattlegroundTypeId | bgTypeId | ||
| ) |
Here is the call graph for this function:| void BattlegroundMgr::SendToBattleground | ( | Player * | player, |
| uint32 | InstanceID, | ||
| BattlegroundTypeId | bgTypeId | ||
| ) |
Here is the call graph for this function:| void BattlegroundMgr::SetHolidayWeekends | ( | uint32 | mask | ) |
Here is the call graph for this function:| void BattlegroundMgr::ToggleArenaTesting | ( | ) |
| void BattlegroundMgr::ToggleTesting | ( | ) |
| void BattlegroundMgr::Update | ( | uint32 | diff | ) |
Here is the call graph for this function:
|
static |
Here is the caller graph for this function:
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
1.8.8