TrinityCore
AuraScript::CheckProcHandler Class Referencefinal

#include <SpellScript.h>

Classes

union  AuraCheckProcFnType
 

Public Types

using SafeWrapperType = bool(*)(AuraScript *auraScript, ProcEventInfo &eventInfo, AuraCheckProcFnType callImpl)
 

Public Member Functions

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

Private Attributes

AuraCheckProcFnType _callImpl
 
SafeWrapperType _safeWrapper
 

Detailed Description

Definition at line 1726 of file SpellScript.h.

Member Typedef Documentation

◆ SafeWrapperType

Definition at line 1735 of file SpellScript.h.

Constructor & Destructor Documentation

◆ CheckProcHandler()

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

Definition at line 1738 of file SpellScript.h.

Member Function Documentation

◆ Call()

bool AuraScript::CheckProcHandler::Call ( AuraScript auraScript,
ProcEventInfo eventInfo 
) const
inline

Definition at line 1769 of file SpellScript.h.

+ Here is the caller graph for this function:

Member Data Documentation

◆ _callImpl

AuraCheckProcFnType AuraScript::CheckProcHandler::_callImpl
private

Definition at line 1774 of file SpellScript.h.

◆ _safeWrapper

SafeWrapperType AuraScript::CheckProcHandler::_safeWrapper
private

Definition at line 1775 of file SpellScript.h.


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