#include "ArenaTeamScript.h"
◆ ArenaTeamScript()
ArenaTeamScript::ArenaTeamScript |
( |
const char * |
name, |
|
|
std::vector< uint16 > |
enabledHooks = std::vector<uint16>() |
|
) |
| |
|
protected |
49{
50
51 if (enabledHooks.empty())
53 enabledHooks.emplace_back(i);
54
56}
std::uint16_t uint16
Definition: Define.h:108
@ ARENATEAMHOOK_END
Definition: ArenaTeamScript.h:32
static void AddScript(TScript *const script, std::vector< uint16 > enabledHooks={})
Definition: ScriptMgr.h:737
Definition: ScriptObject.h:44
References ScriptRegistry< TScript >::AddScript(), and ARENATEAMHOOK_END.
◆ IsDatabaseBound()
bool ArenaTeamScript::IsDatabaseBound |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ OnGetArenaPoints()
virtual void ArenaTeamScript::OnGetArenaPoints |
( |
ArenaTeam * |
, |
|
|
float & |
|
|
) |
| |
|
inlinevirtual |
◆ OnGetSlotByType()
virtual void ArenaTeamScript::OnGetSlotByType |
( |
const |
uint32, |
|
|
uint8 & |
|
|
) |
| |
|
inlinevirtual |
◆ OnQueueIdToArenaType()
virtual void ArenaTeamScript::OnQueueIdToArenaType |
( |
const |
BattlegroundQueueTypeId, |
|
|
uint8 & |
|
|
) |
| |
|
inlinevirtual |
◆ OnSetArenaMaxPlayersPerTeam()
virtual void ArenaTeamScript::OnSetArenaMaxPlayersPerTeam |
( |
const |
uint8, |
|
|
uint32 & |
|
|
) |
| |
|
inlinevirtual |
◆ OnTypeIDToQueueID()
virtual void ArenaTeamScript::OnTypeIDToQueueID |
( |
const |
BattlegroundTypeId, |
|
|
const |
uint8, |
|
|
uint32 & |
|
|
) |
| |
|
inlinevirtual |