TrinityCore
AuraScript::AuraDispelHandler Class Referencefinal

#include <SpellScript.h>

Classes

union  AuraDispelFnType
 

Public Types

using SafeWrapperType = void(*)(AuraScript *auraScript, DispelInfo *dispelInfo, AuraDispelFnType callImpl)
 

Public Member Functions

template<typename ScriptFunc >
 AuraDispelHandler (ScriptFunc handler)
 
void Call (AuraScript *auraScript, DispelInfo *dispelInfo) const
 

Private Attributes

AuraDispelFnType _callImpl
 
SafeWrapperType _safeWrapper
 

Detailed Description

Definition at line 1125 of file SpellScript.h.

Member Typedef Documentation

◆ SafeWrapperType

using AuraScript::AuraDispelHandler::SafeWrapperType = void(*)(AuraScript* auraScript, DispelInfo* dispelInfo, AuraDispelFnType callImpl)

Definition at line 1134 of file SpellScript.h.

Constructor & Destructor Documentation

◆ AuraDispelHandler()

template<typename ScriptFunc >
AuraScript::AuraDispelHandler::AuraDispelHandler ( ScriptFunc  handler)
inlineexplicit

Definition at line 1137 of file SpellScript.h.

Member Function Documentation

◆ Call()

void AuraScript::AuraDispelHandler::Call ( AuraScript auraScript,
DispelInfo dispelInfo 
) const
inline

Definition at line 1168 of file SpellScript.h.

+ Here is the caller graph for this function:

Member Data Documentation

◆ _callImpl

AuraDispelFnType AuraScript::AuraDispelHandler::_callImpl
private

Definition at line 1173 of file SpellScript.h.

◆ _safeWrapper

SafeWrapperType AuraScript::AuraDispelHandler::_safeWrapper
private

Definition at line 1174 of file SpellScript.h.


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