Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
spell_ex_5581::spell_ex_5581SpellScript Class Reference
Inheritance diagram for spell_ex_5581::spell_ex_5581SpellScript:
Collaboration diagram for spell_ex_5581::spell_ex_5581SpellScript:

Private Member Functions

SpellCastResult CheckRequirement ()
void FilterTargets (std::list< Unit * > &)
void HandleAfterCast ()
void HandleAfterHit ()
void HandleBeforeCast ()
void HandleBeforeHit ()
void HandleDummyHit (SpellEffIndex)
void HandleDummyHitTarget (SpellEffIndex)
void HandleDummyLaunch (SpellEffIndex)
void HandleDummyLaunchTarget (SpellEffIndex)
void HandleOnCast ()
void HandleOnHit ()
bool Load () OVERRIDE
 PrepareSpellScript (spell_ex_5581SpellScript)
void Register () OVERRIDE
void Unload () OVERRIDE
bool Validate (SpellInfo const *) OVERRIDE

Private Attributes

std::string localVariable
char * localVariable2

Additional Inherited Members

Public Member Functions inherited from SpellScript
void _FinishScriptCall ()
void _InitHit ()
bool _IsDefaultEffectPrevented (SpellEffIndex effIndex) const
bool _IsEffectPrevented (SpellEffIndex effIndex) const
bool _Load (Spell *spell)
void _PrepareScriptCall (SpellScriptHookType hookType)
bool _Validate (SpellInfo const *entry)
void CreateItem (uint32 effIndex, uint32 itemId)
void FinishCast (SpellCastResult result)
UnitGetCaster ()
ItemGetCastItem ()
int32 GetEffectValue ()
WorldLocation const * GetExplTargetDest ()
GameObjectGetExplTargetGObj ()
ItemGetExplTargetItem ()
UnitGetExplTargetUnit ()
WorldObjectGetExplTargetWorldObject ()
AuraGetHitAura ()
CreatureGetHitCreature ()
int32 GetHitDamage ()
WorldLocationGetHitDest ()
GameObjectGetHitGObj ()
int32 GetHitHeal ()
ItemGetHitItem ()
PlayerGetHitPlayer ()
UnitGetHitUnit ()
UnitGetOriginalCaster ()
SpellGetSpell ()
SpellInfo const * GetSpellInfo ()
SpellValue const * GetSpellValue ()
SpellInfo const * GetTriggeringSpell ()
bool IsInCheckCastHook () const
bool IsInEffectHook () const
bool IsInHitPhase () const
bool IsInTargetHook () const
void PreventHitAura ()
void PreventHitDamage ()
void PreventHitDefaultEffect (SpellEffIndex effIndex)
void PreventHitEffect (SpellEffIndex effIndex)
void PreventHitHeal ()
void SetCustomCastResultMessage (SpellCustomErrors result)
void SetExplTargetDest (WorldLocation &loc)
void SetHitDamage (int32 damage)
void SetHitHeal (int32 heal)
Public Member Functions inherited from _SpellScript
std::string const * _GetScriptName () const
virtual void _Init (std::string const *scriptname, uint32 spellId)
virtual void _Register ()
 _SpellScript ()
virtual void _Unload ()
virtual ~_SpellScript ()
Public Attributes inherited from SpellScript
HookList< CastHandlerAfterCast
HookList< HitHandlerAfterHit
HookList< CastHandlerBeforeCast
HookList< HitHandlerBeforeHit
HookList< CastHandlerOnCast
HookList< CheckCastHandlerOnCheckCast
HookList< EffectHandlerOnEffectHit
HookList< EffectHandlerOnEffectHitTarget
HookList< EffectHandlerOnEffectLaunch
HookList< EffectHandlerOnEffectLaunchTarget
HookList< HitHandlerOnHit
HookList< ObjectAreaTargetSelectHandlerOnObjectAreaTargetSelect
HookList< ObjectTargetSelectHandlerOnObjectTargetSelect
Protected Attributes inherited from _SpellScript
uint8 m_currentScriptState
std::string const * m_scriptName
uint32 m_scriptSpellId

Detailed Description

Definition at line 29 of file example_spell.cpp.

Member Function Documentation

◆ CheckRequirement()

SpellCastResult spell_ex_5581::spell_ex_5581SpellScript::CheckRequirement ( )
inlineprivate

Definition at line 91 of file example_spell.cpp.

References SPELL_CAST_OK.

Referenced by Register().

◆ FilterTargets()

void spell_ex_5581::spell_ex_5581SpellScript::FilterTargets ( std::list< Unit * > & )
inlineprivate

Definition at line 143 of file example_spell.cpp.

References SF_LOG_INFO.

◆ HandleAfterCast()

void spell_ex_5581::spell_ex_5581SpellScript::HandleAfterCast ( )
inlineprivate

Definition at line 83 of file example_spell.cpp.

References SF_LOG_INFO.

Referenced by Register().

◆ HandleAfterHit()

void spell_ex_5581::spell_ex_5581SpellScript::HandleAfterHit ( )
inlineprivate

Definition at line 138 of file example_spell.cpp.

References SF_LOG_INFO.

Referenced by Register().

◆ HandleBeforeCast()

void spell_ex_5581::spell_ex_5581SpellScript::HandleBeforeCast ( )
inlineprivate

Definition at line 69 of file example_spell.cpp.

References SF_LOG_INFO.

Referenced by Register().

◆ HandleBeforeHit()

void spell_ex_5581::spell_ex_5581SpellScript::HandleBeforeHit ( )
inlineprivate

Definition at line 128 of file example_spell.cpp.

References SF_LOG_INFO.

Referenced by Register().

◆ HandleDummyHit()

void spell_ex_5581::spell_ex_5581SpellScript::HandleDummyHit ( SpellEffIndex )
inlineprivate

Definition at line 115 of file example_spell.cpp.

References SpellScript::GetSpellInfo(), and SF_LOG_INFO.

Referenced by Register().

◆ HandleDummyHitTarget()

void spell_ex_5581::spell_ex_5581SpellScript::HandleDummyHitTarget ( SpellEffIndex )
inlineprivate

◆ HandleDummyLaunch()

void spell_ex_5581::spell_ex_5581SpellScript::HandleDummyLaunch ( SpellEffIndex )
inlineprivate

Definition at line 101 of file example_spell.cpp.

References SpellScript::GetSpellInfo(), and SF_LOG_INFO.

Referenced by Register().

◆ HandleDummyLaunchTarget()

void spell_ex_5581::spell_ex_5581SpellScript::HandleDummyLaunchTarget ( SpellEffIndex )
inlineprivate

Definition at line 106 of file example_spell.cpp.

References SpellScript::GetHitUnit(), SpellScript::GetSpellInfo(), SF_LOG_INFO, and UI64FMTD.

Referenced by Register().

◆ HandleOnCast()

void spell_ex_5581::spell_ex_5581SpellScript::HandleOnCast ( )
inlineprivate

Definition at line 76 of file example_spell.cpp.

References SF_LOG_INFO.

Referenced by Register().

◆ HandleOnHit()

void spell_ex_5581::spell_ex_5581SpellScript::HandleOnHit ( )
inlineprivate

Definition at line 133 of file example_spell.cpp.

References SF_LOG_INFO.

Referenced by Register().

◆ Load()

bool spell_ex_5581::spell_ex_5581SpellScript::Load ( )
inlineprivatevirtual

Reimplemented from _SpellScript.

Definition at line 51 of file example_spell.cpp.

References localVariable, localVariable2, and OVERRIDE.

◆ PrepareSpellScript()

spell_ex_5581::spell_ex_5581SpellScript::PrepareSpellScript ( spell_ex_5581SpellScript )
private

◆ Register()

◆ Unload()

void spell_ex_5581::spell_ex_5581SpellScript::Unload ( )
inlineprivatevirtual

Reimplemented from _SpellScript.

Definition at line 64 of file example_spell.cpp.

References localVariable2, and OVERRIDE.

◆ Validate()

bool spell_ex_5581::spell_ex_5581SpellScript::Validate ( SpellInfo const * )
inlineprivatevirtual

Reimplemented from _SpellScript.

Definition at line 41 of file example_spell.cpp.

References OVERRIDE, SPELL_TRIGGERED, and sSpellMgr.

Member Data Documentation

◆ localVariable

std::string spell_ex_5581::spell_ex_5581SpellScript::localVariable
private

Definition at line 36 of file example_spell.cpp.

Referenced by Load().

◆ localVariable2

char* spell_ex_5581::spell_ex_5581SpellScript::localVariable2
private

Definition at line 37 of file example_spell.cpp.

Referenced by Load(), and Unload().


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