TrinityCore
Loading...
Searching...
No Matches
WeatherScript Class Reference

#include <ScriptMgr.h>

+ Inheritance diagram for WeatherScript:

Public Member Functions

virtual void OnChange (Weather *weather, WeatherState state, float grade)
 
virtual void OnUpdate (Weather *weather, uint32 diff)
 
- Public Member Functions inherited from ScriptObject
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 499 of file ScriptMgr.h.

Constructor & Destructor Documentation

◆ WeatherScript()

WeatherScript::WeatherScript ( char const *  name)
explicitprotected

Definition at line 2452 of file ScriptMgr.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ OnChange()

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

Definition at line 2458 of file ScriptMgr.cpp.

◆ OnUpdate()

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

Definition at line 2462 of file ScriptMgr.cpp.


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