TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
SpellScript::CastHandler Class Reference

#include <SpellScript.h>

Public Member Functions

 CastHandler (SpellCastFnType _pCastHandlerScript)
 
void Call (SpellScript *spellScript)
 

Private Attributes

SpellCastFnType pCastHandlerScript
 

Constructor & Destructor Documentation

SpellScript::CastHandler::CastHandler ( SpellCastFnType  _pCastHandlerScript)
162 {
163  pCastHandlerScript = _pCastHandlerScript;
164 }
SpellCastFnType pCastHandlerScript
Definition: SpellScript.h:174

Member Function Documentation

void SpellScript::CastHandler::Call ( SpellScript spellScript)
167 {
168  (spellScript->*pCastHandlerScript)();
169 }
SpellCastFnType pCastHandlerScript
Definition: SpellScript.h:174

Member Data Documentation

SpellCastFnType SpellScript::CastHandler::pCastHandlerScript
private

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