TrinityCore
|
#include <SpellScript.h>
Classes | |
union | DamageAndHealingCalcFnType |
Public Types | |
using | SafeWrapperType = void(*)(SpellScript *spellScript, Unit *victim, int32 &damageOrHealing, int32 &flatMod, float &pctMod, DamageAndHealingCalcFnType callImpl) |
Public Member Functions | |
template<typename ScriptFunc > | |
DamageAndHealingCalcHandler (ScriptFunc handler) | |
void | Call (SpellScript *spellScript, Unit *victim, int32 &damageOrHealing, int32 &flatMod, float &pctMod) const |
Private Attributes | |
DamageAndHealingCalcFnType | _callImpl |
SafeWrapperType | _safeWrapper |
Definition at line 696 of file SpellScript.h.
using SpellScript::DamageAndHealingCalcHandler::SafeWrapperType = void(*)(SpellScript* spellScript, Unit* victim, int32& damageOrHealing, int32& flatMod, float& pctMod, DamageAndHealingCalcFnType callImpl) |
Definition at line 705 of file SpellScript.h.
|
inlineexplicit |
Definition at line 708 of file SpellScript.h.
|
inline |
|
private |
Definition at line 744 of file SpellScript.h.
|
private |
Definition at line 745 of file SpellScript.h.