Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
SpellScript::TargetHook Class Reference

#include <SpellScript.h>

Inheritance diagram for SpellScript::TargetHook:
Collaboration diagram for SpellScript::TargetHook:

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

Detailed Description

Definition at line 191 of file SpellScript.h.

Constructor & Destructor Documentation

◆ TargetHook()

Member Function Documentation

◆ CheckEffect()

◆ ToString()

std::string SpellScript::TargetHook::ToString ( )

Definition at line 197 of file SpellScript.cpp.

References _SpellScript::EffectHook::EffIndexToString(), and targetType.

Member Data Documentation

◆ area

bool SpellScript::TargetHook::area
protected

Definition at line 199 of file SpellScript.h.

Referenced by CheckEffect(), and TargetHook().

◆ targetType

uint16 SpellScript::TargetHook::targetType
protected

Definition at line 198 of file SpellScript.h.

Referenced by CheckEffect(), TargetHook(), and ToString().


The documentation for this class was generated from the following files: