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

#include <SpellScript.h>

Public Member Functions

 HitHandler (SpellHitFnType _pHitHandlerScript)
 
void Call (SpellScript *spellScript)
 

Private Attributes

SpellHitFnType pHitHandlerScript
 

Constructor & Destructor Documentation

SpellScript::HitHandler::HitHandler ( SpellHitFnType  _pHitHandlerScript)
203 {
204  pHitHandlerScript = _pHitHandlerScript;
205 }
SpellHitFnType pHitHandlerScript
Definition: SpellScript.h:203

Member Function Documentation

void SpellScript::HitHandler::Call ( SpellScript spellScript)
208 {
209  (spellScript->*pHitHandlerScript)();
210 }
SpellHitFnType pHitHandlerScript
Definition: SpellScript.h:203

Member Data Documentation

SpellHitFnType SpellScript::HitHandler::pHitHandlerScript
private

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