TrinityCore
|
#include <SpellScript.h>
Classes | |
union | SpellObjectTargetSelectFnType |
Public Types | |
using | SafeWrapperType = void(*)(SpellScript *spellScript, WorldObject *&target, SpellObjectTargetSelectFnType callImpl) |
Public Member Functions | |
template<typename ScriptFunc > | |
ObjectTargetSelectHandler (ScriptFunc handler, uint8 effIndex, uint16 targetType) | |
void | Call (SpellScript *spellScript, WorldObject *&target) const |
bool | HasSameTargetFunctionAs (ObjectTargetSelectHandler const &other) 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 | |
SpellObjectTargetSelectFnType | _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 585 of file SpellScript.h.
using SpellScript::ObjectTargetSelectHandler::SafeWrapperType = void(*)(SpellScript* spellScript, WorldObject*& target, SpellObjectTargetSelectFnType callImpl) |
Definition at line 594 of file SpellScript.h.
|
inlineexplicit |
Definition at line 597 of file SpellScript.h.
|
inline |
|
inline |
Definition at line 634 of file SpellScript.h.
|
private |
Definition at line 639 of file SpellScript.h.
|
private |
Definition at line 640 of file SpellScript.h.