AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
BattlegroundScript Class Referenceabstract

#include "BattlegroundScript.h"

Inheritance diagram for BattlegroundScript:
ScriptObject

Public Member Functions

bool IsDatabaseBound () const override
 
virtual BattlegroundGetBattleground () const =0
 
- Public Member Functions inherited from ScriptObject
virtual bool IsDatabaseBound () const
 
virtual bool isAfterLoadScript () const
 
virtual void checkValidity ()
 
const std::string & GetName () const
 
uint16 GetTotalAvailableHooks ()
 

Protected Member Functions

 BattlegroundScript (const char *name)
 
- Protected Member Functions inherited from ScriptObject
 ScriptObject (const char *name, uint16 totalAvailableHooks=0)
 
virtual ~ScriptObject ()=default
 

Detailed Description

Constructor & Destructor Documentation

◆ BattlegroundScript()

BattlegroundScript::BattlegroundScript ( const char *  name)
protected
29 : ScriptObject(name)
30{
32}
static void AddScript(TScript *const script, std::vector< uint16 > enabledHooks={})
Definition: ScriptMgr.h:737
Definition: ScriptObject.h:44

References ScriptRegistry< TScript >::AddScript().

Member Function Documentation

◆ GetBattleground()

virtual Battleground * BattlegroundScript::GetBattleground ( ) const
pure virtual

◆ IsDatabaseBound()

bool BattlegroundScript::IsDatabaseBound ( ) const
inlineoverridevirtual

Reimplemented from ScriptObject.

29{ return true; }