TrinityCore
AuraScript::AuraProcHandler Class Referencefinal

#include <SpellScript.h>

Classes

union  AuraProcFnType
 

Public Types

using SafeWrapperType = void(*)(AuraScript *auraScript, ProcEventInfo &eventInfo, AuraProcFnType callImpl)
 

Public Member Functions

template<typename ScriptFunc >
 AuraProcHandler (ScriptFunc handler)
 
void Call (AuraScript *auraScript, ProcEventInfo &eventInfo) const
 

Private Attributes

AuraProcFnType _callImpl
 
SafeWrapperType _safeWrapper
 

Detailed Description

Definition at line 1831 of file SpellScript.h.

Member Typedef Documentation

◆ SafeWrapperType

using AuraScript::AuraProcHandler::SafeWrapperType = void(*)(AuraScript* auraScript, ProcEventInfo& eventInfo, AuraProcFnType callImpl)

Definition at line 1840 of file SpellScript.h.

Constructor & Destructor Documentation

◆ AuraProcHandler()

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

Definition at line 1843 of file SpellScript.h.

Member Function Documentation

◆ Call()

void AuraScript::AuraProcHandler::Call ( AuraScript auraScript,
ProcEventInfo eventInfo 
) const
inline

Definition at line 1874 of file SpellScript.h.

+ Here is the caller graph for this function:

Member Data Documentation

◆ _callImpl

AuraProcFnType AuraScript::AuraProcHandler::_callImpl
private

Definition at line 1879 of file SpellScript.h.

◆ _safeWrapper

SafeWrapperType AuraScript::AuraProcHandler::_safeWrapper
private

Definition at line 1880 of file SpellScript.h.


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