AzeorthCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
DatabaseScript Class Reference

#include "ScriptMgr.h"

Inheritance diagram for DatabaseScript:
ScriptObject

Public Member Functions

bool IsDatabaseBound () const override
 
virtual void OnAfterDatabasesLoaded (uint32)
 
- Public Member Functions inherited from ScriptObject
virtual bool IsDatabaseBound () const
 
virtual bool isAfterLoadScript () const
 
virtual void checkValidity ()
 
const std::string & GetName () const
 

Protected Member Functions

 DatabaseScript (const char *name)
 
- Protected Member Functions inherited from ScriptObject
 ScriptObject (const char *name)
 
virtual ~ScriptObject ()=default
 

Detailed Description

Constructor & Destructor Documentation

◆ DatabaseScript()

DatabaseScript::DatabaseScript ( const char *  name)
protected
569 : ScriptObject(name)
570{
572}
Definition: ScriptMgr.h:107
static void AddScript(TScript *const script)
Definition: ScriptMgr.h:2708

References ScriptRegistry< TScript >::AddScript().

Member Function Documentation

◆ IsDatabaseBound()

bool DatabaseScript::IsDatabaseBound ( ) const
inlineoverridevirtual

Reimplemented from ScriptObject.

1940{ return false; }

◆ OnAfterDatabasesLoaded()

virtual void DatabaseScript::OnAfterDatabasesLoaded ( uint32  )
inlinevirtual
1942{ }

Referenced by ScriptMgr::OnAfterDatabasesLoaded().