TrinityCore
SpellScript::CheckCastHandler Class Referencefinal

#include <SpellScript.h>

Classes

union  SpellCheckCastFnType
 

Public Types

using SafeWrapperType = SpellCastResult(*)(SpellScript *spellScript, SpellCheckCastFnType callImpl)
 

Public Member Functions

template<typename ScriptFunc >
 CheckCastHandler (ScriptFunc handler)
 
SpellCastResult Call (SpellScript *spellScript) const
 

Private Attributes

SpellCheckCastFnType _callImpl
 
SafeWrapperType _safeWrapper
 

Detailed Description

Definition at line 285 of file SpellScript.h.

Member Typedef Documentation

◆ SafeWrapperType

Constructor & Destructor Documentation

◆ CheckCastHandler()

template<typename ScriptFunc >
SpellScript::CheckCastHandler::CheckCastHandler ( ScriptFunc  handler)
inlineexplicit

Definition at line 297 of file SpellScript.h.

Member Function Documentation

◆ Call()

SpellCastResult SpellScript::CheckCastHandler::Call ( SpellScript spellScript) const
inline

Definition at line 328 of file SpellScript.h.

+ Here is the caller graph for this function:

Member Data Documentation

◆ _callImpl

SpellCheckCastFnType SpellScript::CheckCastHandler::_callImpl
private

Definition at line 333 of file SpellScript.h.

◆ _safeWrapper

SafeWrapperType SpellScript::CheckCastHandler::_safeWrapper
private

Definition at line 334 of file SpellScript.h.


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