|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include <SpellScript.h>
Public Member Functions | |
| bool | CheckEffect (SpellInfo const *spellInfo, uint8 effIndex) |
| TargetHook (uint8 _effectIndex, uint16 _targetType, bool _area) | |
| std::string | ToString () |
| Public Member Functions inherited from _SpellScript::EffectHook | |
| EffectHook (uint8 _effIndex) | |
| std::string | EffIndexToString () |
| uint8 | GetAffectedEffectsMask (SpellInfo const *spellInfo) |
| bool | IsEffectAffected (SpellInfo const *spellInfo, uint8 effIndex) |
| virtual | ~EffectHook () |
Protected Attributes | |
| bool | area |
| uint16 | targetType |
| Protected Attributes inherited from _SpellScript::EffectHook | |
| uint8 | effIndex |
Definition at line 191 of file SpellScript.h.
Definition at line 194 of file SpellScript.cpp.
References _SpellScript::_SpellScript(), area, _SpellScript::EffectHook::EffectHook(), and targetType.
Referenced by SpellScript::ObjectAreaTargetSelectHandler::ObjectAreaTargetSelectHandler(), and SpellScript::ObjectTargetSelectHandler::ObjectTargetSelectHandler().
Implements _SpellScript::EffectHook.
Definition at line 204 of file SpellScript.cpp.
References area, SpellInfo::Effects, _SpellScript::EffectHook::effIndex, 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, SpellEffectInfo::TargetB, and targetType.
| std::string SpellScript::TargetHook::ToString | ( | ) |
Definition at line 197 of file SpellScript.cpp.
References _SpellScript::EffectHook::EffIndexToString(), and targetType.
|
protected |
Definition at line 199 of file SpellScript.h.
Referenced by CheckEffect(), and TargetHook().
|
protected |
Definition at line 198 of file SpellScript.h.
Referenced by CheckEffect(), TargetHook(), and ToString().