TrinityCore
|
#include <SpellScript.h>
Classes | |
union | SpellObjectAreaTargetSelectFnType |
Public Types | |
using | SafeWrapperType = void(*)(SpellScript *spellScript, std::list< WorldObject * > &targets, SpellObjectAreaTargetSelectFnType callImpl) |
Public Member Functions | |
template<typename ScriptFunc > | |
ObjectAreaTargetSelectHandler (ScriptFunc handler, uint8 effIndex, uint16 targetType) | |
void | Call (SpellScript *spellScript, std::list< WorldObject * > &targets) const |
bool | HasSameTargetFunctionAs (ObjectAreaTargetSelectHandler 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 | |
SpellObjectAreaTargetSelectFnType | _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 527 of file SpellScript.h.
using SpellScript::ObjectAreaTargetSelectHandler::SafeWrapperType = void(*)(SpellScript* spellScript, std::list<WorldObject*>& targets, SpellObjectAreaTargetSelectFnType callImpl) |
Definition at line 536 of file SpellScript.h.
|
inlineexplicit |
Definition at line 539 of file SpellScript.h.
|
inline |
|
inline |
Definition at line 576 of file SpellScript.h.
|
private |
Definition at line 581 of file SpellScript.h.
|
private |
Definition at line 582 of file SpellScript.h.