![]() |
TrinityCore
|
#include <BattlegroundMgr.h>
Public Member Functions | |
| bool | IsArena () const |
| uint16 | GetMinPlayersPerTeam () const |
| uint16 | GetMaxPlayersPerTeam () const |
| uint8 | GetMinLevel () const |
| uint8 | GetMaxLevel () const |
Public Attributes | |
| BattlegroundTypeId | Id |
| WorldSafeLocsEntry const * | StartLocation [PVP_TEAMS_COUNT] = { } |
| float | MaxStartDistSq |
| uint8 | Weight |
| uint32 | ScriptId |
| BattlemasterListEntry const * | BattlemasterEntry |
| std::vector< int32 > | MapIDs |
Definition at line 47 of file BattlegroundMgr.h.
| uint8 BattlegroundTemplate::GetMaxLevel | ( | ) | const |
Definition at line 57 of file BattlegroundMgr.cpp.
References BattlemasterEntry, and BattlemasterListEntry::MaxLevel.
Referenced by Player::GetBGAccessByLevel(), Battleground::GetMaxLevel(), and BattlegroundMgr::SendBattlegroundList().
| uint16 BattlegroundTemplate::GetMaxPlayersPerTeam | ( | ) | const |
Definition at line 47 of file BattlegroundMgr.cpp.
References BattlemasterEntry, and BattlemasterListEntry::MaxPlayers.
Referenced by BattlegroundQueue::BattlegroundQueueUpdate(), Battleground::GetMaxPlayersPerTeam(), and WorldSession::HandleBattlemasterJoinOpcode().
| uint8 BattlegroundTemplate::GetMinLevel | ( | ) | const |
Definition at line 52 of file BattlegroundMgr.cpp.
References BattlemasterEntry, and BattlemasterListEntry::MinLevel.
Referenced by Battleground::GetMinLevel(), and BattlegroundMgr::SendBattlegroundList().
| uint16 BattlegroundTemplate::GetMinPlayersPerTeam | ( | ) | const |
Definition at line 42 of file BattlegroundMgr.cpp.
References BattlemasterEntry, and BattlemasterListEntry::MinPlayers.
Referenced by BattlegroundQueue::BattlegroundQueueUpdate(), Battleground::GetMinPlayersPerTeam(), and WorldSession::HandleBattlemasterJoinOpcode().
| bool BattlegroundTemplate::IsArena | ( | ) | const |
Definition at line 37 of file BattlegroundMgr.cpp.
References Arena, BattlemasterEntry, and BattlemasterListEntry::GetType().
Referenced by BattlegroundQueue::BattlegroundQueueUpdate(), Group::CanJoinBattlegroundQueue(), Player::CanJoinToBattleground(), BattlegroundMgr::CreateNewBattleground(), WorldSession::HandleBattlemasterJoinOpcode(), Battleground::isArena(), and BattlegroundMgr::ToggleArenaTesting().
| BattlemasterListEntry const* BattlegroundTemplate::BattlemasterEntry |
Definition at line 54 of file BattlegroundMgr.h.
Referenced by GetMaxLevel(), GetMaxPlayersPerTeam(), GetMinLevel(), GetMinPlayersPerTeam(), Battleground::GetName(), IsArena(), and BattlegroundMgr::LoadBattlegroundTemplates().
| BattlegroundTypeId BattlegroundTemplate::Id |
Definition at line 49 of file BattlegroundMgr.h.
Referenced by Group::CanJoinBattlegroundQueue(), Player::CanJoinToBattleground(), Battleground::GetTypeID(), WorldSession::HandleBattlemasterJoinArena(), and BattlegroundMgr::LoadBattlegroundTemplates().
| std::vector<int32> BattlegroundTemplate::MapIDs |
Definition at line 55 of file BattlegroundMgr.h.
Referenced by BattlegroundQueue::BattlegroundQueueUpdate(), Group::CanJoinBattlegroundQueue(), BattlegroundMgr::CreateNewBattleground(), Battleground::GetMapId(), WorldSession::HandleBattleFieldPortOpcode(), WorldSession::HandleBattlemasterJoinArena(), WorldSession::HandleBattlemasterJoinOpcode(), WorldSession::HandleRequestBattlefieldStatusOpcode(), and BattlegroundMgr::LoadBattlegroundTemplates().
| float BattlegroundTemplate::MaxStartDistSq |
Definition at line 51 of file BattlegroundMgr.h.
Referenced by Battleground::GetStartMaxDist(), and BattlegroundMgr::LoadBattlegroundTemplates().
| uint32 BattlegroundTemplate::ScriptId |
Definition at line 53 of file BattlegroundMgr.h.
Referenced by Battleground::GetScriptId(), and BattlegroundMgr::LoadBattlegroundTemplates().
| WorldSafeLocsEntry const* BattlegroundTemplate::StartLocation[PVP_TEAMS_COUNT] = { } |
Definition at line 50 of file BattlegroundMgr.h.
Referenced by Battleground::GetTeamStartPosition(), and BattlegroundMgr::LoadBattlegroundTemplates().
| uint8 BattlegroundTemplate::Weight |
Definition at line 52 of file BattlegroundMgr.h.
Referenced by BattlegroundMgr::GetRandomBG(), and BattlegroundMgr::LoadBattlegroundTemplates().