![]() |
TrinityCore
|
#include <SpellScript.h>
Inheritance diagram for SpellScript::TargetHook:Public Member Functions | |
| 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 |
| std::string | EffIndexToString () const |
Protected Attributes | |
| uint16 | _targetType |
| bool | _area |
| bool | _dest |
Protected Attributes inherited from SpellScriptBase::EffectHook | |
| uint8 | _effIndex |
Definition at line 498 of file SpellScript.h.
Definition at line 191 of file SpellScript.cpp.
|
delete |
|
defaultnoexcept |
|
virtualdefault |
|
overridevirtual |
Implements SpellScriptBase::EffectHook.
Definition at line 203 of file SpellScript.cpp.
References SpellInfo::GetEffect(), SpellInfo::GetEffects(), SpellImplicitTargetInfo::GetObjectType(), SpellImplicitTargetInfo::GetReferenceType(), SpellImplicitTargetInfo::GetSelectionCategory(), SpellImplicitTargetInfo::GetTarget(), TARGET_OBJECT_TYPE_DEST, TARGET_OBJECT_TYPE_SRC, TARGET_OBJECT_TYPE_UNIT_AND_DEST, 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_LINE, TARGET_SELECT_CATEGORY_NEARBY, SpellEffectInfo::TargetA, and SpellEffectInfo::TargetB.
|
inline |
Definition at line 509 of file SpellScript.h.
|
defaultnoexcept |
|
delete |
| std::string SpellScript::TargetHook::ToString | ( | ) | const |
Definition at line 198 of file SpellScript.cpp.
References Trinity::StringFormat().
|
protected |
Definition at line 512 of file SpellScript.h.
|
protected |
Definition at line 513 of file SpellScript.h.
|
protected |
Definition at line 511 of file SpellScript.h.