TrinityCore
SpellScript::EmpowerStageCompletedHandler Class Referencefinal

#include <SpellScript.h>

Public Types

using EmpowerStageFnType = void(SpellScript::*)(int32)
 
using SafeWrapperType = void(*)(SpellScript *spellScript, EmpowerStageFnType callImpl, int32 completedStagesCount)
 

Public Member Functions

template<typename ScriptFunc >
 EmpowerStageCompletedHandler (ScriptFunc handler)
 
void Call (SpellScript *spellScript, int32 completedStagesCount) const
 

Private Attributes

EmpowerStageFnType _callImpl
 
SafeWrapperType _safeWrapper
 

Detailed Description

Definition at line 800 of file SpellScript.h.

Member Typedef Documentation

◆ EmpowerStageFnType

Definition at line 803 of file SpellScript.h.

◆ SafeWrapperType

using SpellScript::EmpowerStageCompletedHandler::SafeWrapperType = void(*)(SpellScript* spellScript, EmpowerStageFnType callImpl, int32 completedStagesCount)

Definition at line 805 of file SpellScript.h.

Constructor & Destructor Documentation

◆ EmpowerStageCompletedHandler()

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

Definition at line 808 of file SpellScript.h.

Member Function Documentation

◆ Call()

void SpellScript::EmpowerStageCompletedHandler::Call ( SpellScript spellScript,
int32  completedStagesCount 
) const
inline

Definition at line 825 of file SpellScript.h.

+ Here is the caller graph for this function:

Member Data Documentation

◆ _callImpl

EmpowerStageFnType SpellScript::EmpowerStageCompletedHandler::_callImpl
private

Definition at line 830 of file SpellScript.h.

◆ _safeWrapper

SafeWrapperType SpellScript::EmpowerStageCompletedHandler::_safeWrapper
private

Definition at line 831 of file SpellScript.h.


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