![]() |
AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Protected Member Functions | |
| void | SetUp () override |
| void | TearDown () override |
| void | SetIntConfig (ServerConfigs index, uint32 value) |
Static Protected Member Functions | |
| static PvPDifficultyEntry | MakeBracket (uint32 minLevel, uint32 maxLevel) |
| static void | SetupTemplate (Battleground &bg, BattlegroundTypeId bgTypeId) |
| static void | SetupRealBg (Battleground &bg, BattlegroundTypeId bgTypeId, PvPDifficultyEntry const &bracket) |
Protected Attributes | |
| ::testing::NiceMock< WorldMock > * | worldMock_ = nullptr |
| std::unique_ptr< IWorld > | previousWorld_ |
Static Protected Attributes | |
| static constexpr uint32 | TemplateMinPlayers = 5 |
Tests the resolution order of the low-levels MinPlayersPerTeam override: per-BG config key > global config key > battleground_template value, and the guards that keep it away from arenas, templates (member function) and max-level brackets.
|
inlinestaticprotected |
|
inlineprotected |
References worldMock_.
|
inlineoverrideprotected |
References ALLBATTLEGROUNDHOOK_END, CONFIG_MAX_PLAYER_LEVEL, ScriptRegistry< TScript >::InitEnabledHooksIfNeeded(), previousWorld_, sWorld, and worldMock_.
|
inlinestaticprotected |
References Battleground::SetBracket(), and SetupTemplate().
|
inlinestaticprotected |
References Battleground::SetBgTypeID(), Battleground::SetMinPlayersPerTeam(), and TemplateMinPlayers.
Referenced by SetupRealBg().
|
inlineoverrideprotected |
References previousWorld_, and sWorld.
|
protected |
Referenced by SetUp(), and TearDown().
|
staticconstexprprotected |
Referenced by SetupTemplate().
|
protected |
Referenced by SetIntConfig(), and SetUp().