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

#include "WeatherScript.h"

Inheritance diagram for WeatherScript:
ScriptObject UpdatableScript< Weather >

Public Member Functions

bool IsDatabaseBound () const override
 
virtual void OnChange (Weather *, WeatherState, float)
 
- Public Member Functions inherited from ScriptObject
virtual bool IsDatabaseBound () const
 
virtual bool isAfterLoadScript () const
 
virtual void checkValidity ()
 
const std::string & GetName () const
 
uint16 GetTotalAvailableHooks ()
 
- Public Member Functions inherited from UpdatableScript< Weather >
virtual void OnUpdate (Weather *, uint32)
 

Protected Member Functions

 WeatherScript (const char *name)
 
- Protected Member Functions inherited from ScriptObject
 ScriptObject (const char *name, uint16 totalAvailableHooks=0)
 
virtual ~ScriptObject ()=default
 
- Protected Member Functions inherited from UpdatableScript< Weather >
 UpdatableScript ()=default
 

Detailed Description

Constructor & Destructor Documentation

◆ WeatherScript()

WeatherScript::WeatherScript ( const char *  name)
protected
49 : ScriptObject(name)
50{
52}
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

◆ IsDatabaseBound()

bool WeatherScript::IsDatabaseBound ( ) const
inlineoverridevirtual

Reimplemented from ScriptObject.

29{ return true; }

◆ OnChange()

virtual void WeatherScript::OnChange ( Weather ,
WeatherState  ,
float   
)
inlinevirtual
32{ }