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

#include "SpellScript.h"

Public Member Functions

 CheckCastHandler (SpellCheckCastFnType checkCastHandlerScript)
 
SpellCastResult Call (SpellScript *spellScript)
 

Private Attributes

SpellCheckCastFnType _checkCastHandlerScript
 

Detailed Description

Constructor & Destructor Documentation

◆ CheckCastHandler()

SpellScript::CheckCastHandler::CheckCastHandler ( SpellCheckCastFnType  checkCastHandlerScript)
177{
178 _checkCastHandlerScript = checkCastHandlerScript;
179}
SpellCheckCastFnType _checkCastHandlerScript
Definition: SpellScript.h:213

Member Function Documentation

◆ Call()

SpellCastResult SpellScript::CheckCastHandler::Call ( SpellScript spellScript)
182{
183 return (spellScript->*_checkCastHandlerScript)();
184}

Member Data Documentation

◆ _checkCastHandlerScript

SpellCheckCastFnType SpellScript::CheckCastHandler::_checkCastHandlerScript
private