TrinityCore
WeatherScript Class Reference

#include <ScriptMgr.h>

+ Inheritance diagram for WeatherScript:

Public Member Functions

 ~WeatherScript ()
 
virtual void OnChange (Weather *weather, WeatherState state, float grade)
 
virtual void OnUpdate (Weather *weather, uint32 diff)
 
- Public Member Functions inherited from ScriptObject
 ScriptObject (ScriptObject const &right)=delete
 
 ScriptObject (ScriptObject &&right)=delete
 
ScriptObjectoperator= (ScriptObject const &right)=delete
 
ScriptObjectoperator= (ScriptObject &&right)=delete
 
std::string const & GetName () const
 

Protected Member Functions

 WeatherScript (char const *name)
 
- Protected Member Functions inherited from ScriptObject
 ScriptObject (char const *name)
 
virtual ~ScriptObject ()
 

Detailed Description

Definition at line 546 of file ScriptMgr.h.

Constructor & Destructor Documentation

◆ WeatherScript()

WeatherScript::WeatherScript ( char const *  name)
explicitprotected

Definition at line 2729 of file ScriptMgr.cpp.

+ Here is the call graph for this function:

◆ ~WeatherScript()

WeatherScript::~WeatherScript ( )
default

Member Function Documentation

◆ OnChange()

void WeatherScript::OnChange ( Weather weather,
WeatherState  state,
float  grade 
)
virtual

Definition at line 2737 of file ScriptMgr.cpp.

◆ OnUpdate()

void WeatherScript::OnUpdate ( Weather weather,
uint32  diff 
)
virtual

Definition at line 2741 of file ScriptMgr.cpp.


The documentation for this class was generated from the following files: