TrinityCore
|
#include <SpellScript.h>
Classes | |
union | AuraEffectAbsorbFnType |
Public Types | |
using | SafeWrapperType = void(*)(AuraScript *auraScript, AuraEffect *aurEff, DamageInfo &dmgInfo, uint32 &absorbAmount, AuraEffectAbsorbFnType callImpl) |
Public Member Functions | |
template<typename ScriptFunc > | |
EffectAbsorbHandler (ScriptFunc handler, uint8 effIndex, uint16 auraType) | |
void | Call (AuraScript *auraScript, AuraEffect *aurEff, DamageInfo &dmgInfo, uint32 &absorbAmount) const |
Public Member Functions inherited from AuraScript::EffectBase | |
EffectBase (uint8 effIndex, uint16 auraType) | |
EffectBase (EffectBase const &right)=delete | |
EffectBase (EffectBase &&right) noexcept | |
EffectBase & | operator= (EffectBase const &right)=delete |
EffectBase & | operator= (EffectBase &&right) noexcept |
virtual | ~EffectBase () |
std::string | ToString () const |
bool | CheckEffect (SpellInfo const *spellInfo, uint8 effIndex) const override |
Public Member Functions inherited from SpellScriptBase::EffectHook | |
EffectHook (uint8 effIndex) | |
EffectHook (EffectHook const &right)=delete | |
EffectHook (EffectHook &&right) noexcept | |
EffectHook & | operator= (EffectHook const &right)=delete |
EffectHook & | operator= (EffectHook &&right) noexcept |
virtual | ~EffectHook () |
uint32 | GetAffectedEffectsMask (SpellInfo const *spellInfo) const |
bool | IsEffectAffected (SpellInfo const *spellInfo, uint8 effIndex) const |
virtual bool | CheckEffect (SpellInfo const *spellInfo, uint8 effIndex) const =0 |
std::string | EffIndexToString () const |
Private Attributes | |
AuraEffectAbsorbFnType | _callImpl |
SafeWrapperType | _safeWrapper |
Additional Inherited Members | |
Protected Attributes inherited from SpellScriptBase::EffectHook | |
uint8 | _effIndex |
Definition at line 1620 of file SpellScript.h.
using AuraScript::EffectAbsorbHandler::SafeWrapperType = void(*)(AuraScript* auraScript, AuraEffect* aurEff, DamageInfo& dmgInfo, uint32& absorbAmount, AuraEffectAbsorbFnType callImpl) |
Definition at line 1629 of file SpellScript.h.
|
inlineexplicit |
Definition at line 1632 of file SpellScript.h.
|
inline |
|
private |
Definition at line 1669 of file SpellScript.h.
|
private |
Definition at line 1670 of file SpellScript.h.