TrinityCore
|
#include <SpellScript.h>
Classes | |
union | SpellDestinationTargetSelectFnType |
Public Types | |
using | SafeWrapperType = void(*)(SpellScript *spellScript, SpellDestination &target, SpellDestinationTargetSelectFnType callImpl) |
Public Member Functions | |
template<typename ScriptFunc > | |
DestinationTargetSelectHandler (ScriptFunc handler, uint8 effIndex, uint16 targetType) | |
void | Call (SpellScript *spellScript, SpellDestination &target) const |
Public Member Functions inherited from SpellScript::TargetHook | |
TargetHook (uint8 effectIndex, uint16 targetType, bool area, bool dest) | |
TargetHook (TargetHook const &right)=delete | |
TargetHook (TargetHook &&right) noexcept | |
TargetHook & | operator= (TargetHook const &right)=delete |
TargetHook & | operator= (TargetHook &&right) noexcept |
virtual | ~TargetHook () |
bool | CheckEffect (SpellInfo const *spellInfo, uint8 effIndex) const override |
std::string | ToString () const |
uint16 | GetTarget () const |
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 | |
SpellDestinationTargetSelectFnType | _callImpl |
SafeWrapperType | _safeWrapper |
Additional Inherited Members | |
Protected Attributes inherited from SpellScript::TargetHook | |
uint16 | _targetType |
bool | _area |
bool | _dest |
Protected Attributes inherited from SpellScriptBase::EffectHook | |
uint8 | _effIndex |
Definition at line 643 of file SpellScript.h.
using SpellScript::DestinationTargetSelectHandler::SafeWrapperType = void(*)(SpellScript* spellScript, SpellDestination& target, SpellDestinationTargetSelectFnType callImpl) |
Definition at line 652 of file SpellScript.h.
|
inlineexplicit |
Definition at line 655 of file SpellScript.h.
|
inline |
|
private |
Definition at line 692 of file SpellScript.h.
|
private |
Definition at line 693 of file SpellScript.h.