AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
SpellScriptLoader Class Reference

#include "SpellScriptLoader.h"

Inheritance diagram for SpellScriptLoader:
ScriptObject GenericSpellAndAuraScriptLoader< Ts > spell_q11515_fel_siphon_dummy spell_q55_sacred_cleansing

Public Member Functions

bool IsDatabaseBound () const override
 
virtual SpellScriptGetSpellScript () const
 
virtual AuraScriptGetAuraScript () const
 
- 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

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

Detailed Description

Constructor & Destructor Documentation

◆ SpellScriptLoader()

SpellScriptLoader::SpellScriptLoader ( const char *  name)
protected
80 : ScriptObject(name)
81{
83}
static void AddScript(TScript *const script, std::vector< uint16 > enabledHooks={})
Definition: ScriptMgr.h:738
Definition: ScriptObject.h:43

References ScriptRegistry< TScript >::AddScript().

Member Function Documentation

◆ GetAuraScript()

virtual AuraScript * SpellScriptLoader::GetAuraScript ( ) const
inlinevirtual

Reimplemented in GenericSpellAndAuraScriptLoader< Ts >.

37{ return nullptr; }

Referenced by ScriptMgr::CreateAuraScripts().

◆ GetSpellScript()

virtual SpellScript * SpellScriptLoader::GetSpellScript ( ) const
inlinevirtual

◆ IsDatabaseBound()

bool SpellScriptLoader::IsDatabaseBound ( ) const
inlineoverridevirtual

Reimplemented from ScriptObject.

31{ return true; }