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

Public Member Functions

void AddDot (uint32 id)
std::list< uint32 > const GetDotList () const
UnitGetOriginalSwapSource () const
void SetOriginalSwapSource (Unit *victim)
Public Member Functions inherited from AuraScript
void _FinishScriptCall ()
bool _IsDefaultActionPrevented ()
bool _Load (Aura *aura)
void _PrepareScriptCall (AuraScriptHookType hookType, AuraApplication const *aurApp=NULL)
bool _Validate (SpellInfo const *entry)
 AuraScript ()
uint8 CalcMaxCharges () const
int32 CalcMaxDuration () const
bool DropCharge (AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
time_t GetApplyTime () const
AuraGetAura () const
UnitGetCaster () const
uint64 GetCasterGUID () const
uint8 GetCharges () const
int32 GetDuration () const
DynamicObjectGetDynobjOwner () const
AuraEffectGetEffect (uint8 effIndex) const
uint32 GetId () const
int32 GetMaxDuration () const
WorldObjectGetOwner () const
SpellInfo const * GetSpellInfo () const
uint8 GetStackAmount () const
UnitGetTarget () const
AuraApplication const * GetTargetApplication () const
AuraObjectType GetType () const
UnitGetUnitOwner () const
bool HasEffect (uint8 effIndex) const
bool HasEffectType (AuraType type) const
bool IsDeathPersistent () const
bool IsExpired () const
bool IsPassive () const
bool IsPermanent () const
bool ModCharges (int8 num, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
bool ModStackAmount (int32 num, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
void PreventDefaultAction ()
void RefreshDuration ()
void Remove (uint32 removeMode=0)
void SetCharges (uint8 charges)
void SetDuration (int32 duration, bool withMods=false)
void SetMaxDuration (int32 duration)
void SetStackAmount (uint8 num)
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 void Unload ()
virtual bool Validate (SpellInfo const *)
virtual ~_SpellScript ()

Private Member Functions

bool Load () OVERRIDE
 PrepareAuraScript (spell_warl_soul_swap_override_AuraScript)
void Register () OVERRIDE
 Forced to, pure virtual functions must have a body when linking.

Private Attributes

std::list< uint32_dotList
Unit_swapCaster

Additional Inherited Members

Public Attributes inherited from AuraScript
HookList< AuraDispelHandlerAfterDispel
HookList< EffectAbsorbHandlerAfterEffectAbsorb
HookList< EffectApplyHandlerAfterEffectApply
HookList< EffectManaShieldHandlerAfterEffectManaShield
HookList< EffectProcHandlerAfterEffectProc
HookList< EffectApplyHandlerAfterEffectRemove
HookList< AuraProcHandlerAfterProc
HookList< CheckAreaTargetHandlerDoCheckAreaTarget
HookList< CheckProcHandlerDoCheckProc
HookList< EffectCalcAmountHandlerDoEffectCalcAmount
HookList< EffectCalcPeriodicHandlerDoEffectCalcPeriodic
HookList< EffectCalcSpellModHandlerDoEffectCalcSpellMod
HookList< AuraProcHandlerDoPrepareProc
HookList< AuraDispelHandlerOnDispel
HookList< EffectAbsorbHandlerOnEffectAbsorb
HookList< EffectApplyHandlerOnEffectApply
HookList< EffectManaShieldHandlerOnEffectManaShield
HookList< EffectPeriodicHandlerOnEffectPeriodic
HookList< EffectProcHandlerOnEffectProc
HookList< EffectApplyHandlerOnEffectRemove
HookList< EffectSplitHandlerOnEffectSplit
HookList< EffectUpdatePeriodicHandlerOnEffectUpdatePeriodic
HookList< AuraProcHandlerOnProc
Protected Attributes inherited from _SpellScript
uint8 m_currentScriptState
std::string const * m_scriptName
uint32 m_scriptSpellId

Detailed Description

Definition at line 480 of file spell_warlock.cpp.

Member Function Documentation

◆ AddDot()

void spell_warl_soul_swap_override::spell_warl_soul_swap_override_AuraScript::AddDot ( uint32 id)
inline

◆ GetDotList()

std::list< uint32 > const spell_warl_soul_swap_override::spell_warl_soul_swap_override_AuraScript::GetDotList ( ) const
inline

◆ GetOriginalSwapSource()

Unit * spell_warl_soul_swap_override::spell_warl_soul_swap_override_AuraScript::GetOriginalSwapSource ( ) const
inline

◆ Load()

bool spell_warl_soul_swap_override::spell_warl_soul_swap_override_AuraScript::Load ( )
inlineprivatevirtual

Reimplemented from _SpellScript.

Definition at line 484 of file spell_warlock.cpp.

References _swapCaster, and OVERRIDE.

◆ PrepareAuraScript()

spell_warl_soul_swap_override::spell_warl_soul_swap_override_AuraScript::PrepareAuraScript ( spell_warl_soul_swap_override_AuraScript )
private

◆ Register()

void spell_warl_soul_swap_override::spell_warl_soul_swap_override_AuraScript::Register ( )
inlineprivatevirtual

Forced to, pure virtual functions must have a body when linking.

Implements _SpellScript.

Definition at line 491 of file spell_warlock.cpp.

References OVERRIDE.

◆ SetOriginalSwapSource()

void spell_warl_soul_swap_override::spell_warl_soul_swap_override_AuraScript::SetOriginalSwapSource ( Unit * victim)
inline

Member Data Documentation

◆ _dotList

std::list<uint32> spell_warl_soul_swap_override::spell_warl_soul_swap_override_AuraScript::_dotList
private

Definition at line 500 of file spell_warlock.cpp.

Referenced by AddDot(), and GetDotList().

◆ _swapCaster

Unit* spell_warl_soul_swap_override::spell_warl_soul_swap_override_AuraScript::_swapCaster
private

Definition at line 501 of file spell_warlock.cpp.

Referenced by GetOriginalSwapSource(), Load(), and SetOriginalSwapSource().


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