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

#include "SpellScript.h"

Public Member Functions

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

Private Attributes

SpellCastFnType pCastHandlerScript
 

Detailed Description

Constructor & Destructor Documentation

◆ CastHandler()

SpellScript::CastHandler::CastHandler ( SpellCastFnType  _pCastHandlerScript)
167{
168 pCastHandlerScript = _pCastHandlerScript;
169}
SpellCastFnType pCastHandlerScript
Definition: SpellScript.h:204

Member Function Documentation

◆ Call()

void SpellScript::CastHandler::Call ( SpellScript spellScript)
172{
173 (spellScript->*pCastHandlerScript)();
174}

Member Data Documentation

◆ pCastHandlerScript

SpellCastFnType SpellScript::CastHandler::pCastHandlerScript
private