![]() |
TrinityCore
|
#include <SpellScript.h>
Inheritance diagram for SpellScript::TargetHook:Public Member Functions | |
| TargetHook (uint8 _effectIndex, uint16 _targetType, bool _area, bool _dest) | |
| bool | CheckEffect (SpellInfo const *spellInfo, uint8 effIndex) override |
| std::string | ToString () |
| uint16 | GetTarget () const |
Public Member Functions inherited from _SpellScript::EffectHook | |
| EffectHook (uint8 _effIndex) | |
| virtual | ~EffectHook () |
| uint8 | GetAffectedEffectsMask (SpellInfo const *spellInfo) |
| bool | IsEffectAffected (SpellInfo const *spellInfo, uint8 effIndex) |
| std::string | EffIndexToString () |
Protected Attributes | |
| uint16 | targetType |
| bool | area |
| bool | dest |
Protected Attributes inherited from _SpellScript::EffectHook | |
| uint8 | effIndex |
Definition at line 263 of file SpellScript.h.
| SpellScript::TargetHook::TargetHook | ( | uint8 | _effectIndex, |
| uint16 | _targetType, | ||
| bool | _area, | ||
| bool | _dest | ||
| ) |
Definition at line 245 of file SpellScript.cpp.
|
overridevirtual |
Implements _SpellScript::EffectHook.
Definition at line 255 of file SpellScript.cpp.
References SpellInfo::GetEffect(), SpellImplicitTargetInfo::GetObjectType(), SpellImplicitTargetInfo::GetReferenceType(), SpellImplicitTargetInfo::GetSelectionCategory(), SpellImplicitTargetInfo::GetTarget(), TARGET_OBJECT_TYPE_DEST, TARGET_OBJECT_TYPE_SRC, TARGET_REFERENCE_TYPE_CASTER, TARGET_REFERENCE_TYPE_TARGET, TARGET_SELECT_CATEGORY_AREA, TARGET_SELECT_CATEGORY_CHANNEL, TARGET_SELECT_CATEGORY_CONE, TARGET_SELECT_CATEGORY_DEFAULT, TARGET_SELECT_CATEGORY_NEARBY, SpellEffectInfo::TargetA, and SpellEffectInfo::TargetB.
|
inline |
Definition at line 269 of file SpellScript.h.
| std::string SpellScript::TargetHook::ToString | ( | ) |
Definition at line 248 of file SpellScript.cpp.
|
protected |
Definition at line 272 of file SpellScript.h.
|
protected |
Definition at line 273 of file SpellScript.h.
|
protected |
Definition at line 271 of file SpellScript.h.