AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
SpellScript::HitHandler Class Reference

#include "SpellScript.h"

Public Member Functions

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

Private Attributes

SpellHitFnType pHitHandlerScript
 

Detailed Description

Constructor & Destructor Documentation

◆ HitHandler()

SpellScript::HitHandler::HitHandler ( SpellHitFnType  _pHitHandlerScript)
218{
219 pHitHandlerScript = _pHitHandlerScript;
220}
SpellHitFnType pHitHandlerScript
Definition: SpellScript.h:243

Member Function Documentation

◆ Call()

void SpellScript::HitHandler::Call ( SpellScript spellScript)
223{
224 (spellScript->*pHitHandlerScript)();
225}

Member Data Documentation

◆ pHitHandlerScript

SpellHitFnType SpellScript::HitHandler::pHitHandlerScript
private