AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
BattlegroundTemplate Struct Reference

#include "BattlegroundMgr.h"

Public Member Functions

bool IsArena () const
 

Public Attributes

BattlegroundTypeId Id
 
uint16 MinPlayersPerTeam
 
uint16 MaxPlayersPerTeam
 
uint8 MinLevel
 
uint8 MaxLevel
 
std::array< Position, PVP_TEAMS_COUNTStartLocation
 
float MaxStartDistSq
 
uint8 Weight
 
uint32 ScriptId
 
BattlemasterListEntry const * BattlemasterEntry
 

Detailed Description

Member Function Documentation

◆ IsArena()

bool BattlegroundTemplate::IsArena ( ) const
53{
55}
@ MAP_ARENA
Definition: DBCEnums.h:350
BattlemasterListEntry const * BattlemasterEntry
Definition: BattlegroundMgr.h:58
uint32 type
Definition: DBCStructure.h:607

References BattlemasterEntry, MAP_ARENA, and BattlemasterListEntry::type.

Referenced by BattlegroundMgr::CreateBattleground().

Member Data Documentation

◆ BattlemasterEntry

◆ Id

◆ MaxLevel

◆ MaxPlayersPerTeam

uint16 BattlegroundTemplate::MaxPlayersPerTeam

◆ MaxStartDistSq

float BattlegroundTemplate::MaxStartDistSq

◆ MinLevel

◆ MinPlayersPerTeam

uint16 BattlegroundTemplate::MinPlayersPerTeam

◆ ScriptId

◆ StartLocation

std::array<Position, PVP_TEAMS_COUNT> BattlegroundTemplate::StartLocation

◆ Weight

uint8 BattlegroundTemplate::Weight