TrinityCore
Aura Class Referenceabstract

#include <SpellAuras.h>

+ Inheritance diagram for Aura:

Classes

struct  NoopAuraDeleter
 

Public Types

typedef std::unordered_map< ObjectGuid, AuraApplication * > ApplicationMap
 

Public Member Functions

 Aura (AuraCreateInfo const &createInfo)
 
void _InitEffects (uint32 effMask, Unit *caster, int32 const *baseAmount)
 
void SaveCasterInfo (Unit *caster)
 
virtual ~Aura ()
 
SpellInfo const * GetSpellInfo () const
 
uint32 GetId () const
 
Difficulty GetCastDifficulty () const
 
ObjectGuid GetCastId () const
 
ObjectGuid GetCasterGUID () const
 
ObjectGuid GetCastItemGUID () const
 
uint32 GetCastItemId () const
 
int32 GetCastItemLevel () const
 
SpellCastVisual GetSpellVisual () const
 
UnitGetCaster () const
 
WorldObjectGetWorldObjectCaster () const
 
WorldObjectGetOwner () const
 
UnitGetUnitOwner () const
 
DynamicObjectGetDynobjOwner () const
 
AuraObjectType GetType () const
 
virtual void _ApplyForTarget (Unit *target, Unit *caster, AuraApplication *auraApp)
 
virtual void _UnapplyForTarget (Unit *target, Unit *caster, AuraApplication *auraApp)
 
void _Remove (AuraRemoveMode removeMode)
 
virtual void Remove (AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)=0
 
virtual void FillTargetMap (std::unordered_map< Unit *, uint32 > &targets, Unit *caster)=0
 
void UpdateTargetMap (Unit *caster, bool apply=true)
 
void _RegisterForTargets ()
 
void ApplyForTargets ()
 
void _ApplyEffectForTargets (uint8 effIndex)
 
void UpdateOwner (uint32 diff, WorldObject *owner)
 
void Update (uint32 diff, Unit *caster)
 
time_t GetApplyTime () const
 
int32 GetMaxDuration () const
 
void SetMaxDuration (int32 duration)
 
int32 CalcMaxDuration () const
 
int32 CalcMaxDuration (Unit *caster) const
 
int32 GetDuration () const
 
void SetDuration (int32 duration, bool withMods=false)
 
void RefreshDuration (bool withMods=false)
 
void RefreshTimers (bool resetPeriodicTimer)
 
bool IsExpired () const
 
bool IsPermanent () const
 
uint8 GetCharges () const
 
void SetCharges (uint8 charges)
 
uint8 CalcMaxCharges (Unit *caster) const
 
uint8 CalcMaxCharges () const
 
bool ModCharges (int32 num, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
 
bool DropCharge (AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
 
void ModChargesDelayed (int32 num, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
 
void DropChargeDelayed (uint32 delay, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
 
uint8 GetStackAmount () const
 
void SetStackAmount (uint8 num)
 
bool ModStackAmount (int32 num, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT, bool resetPeriodicTimer=true)
 
uint32 CalcMaxStackAmount () const
 
bool IsUsingStacks () const
 
uint8 GetCasterLevel () const
 
bool HasMoreThanOneEffectForType (AuraType auraType) const
 
bool IsArea () const
 
bool IsPassive () const
 
bool IsDeathPersistent () const
 
bool IsRemovedOnShapeLost (Unit *target) const
 
bool CanBeSaved () const
 
bool IsRemoved () const
 
bool IsSingleTarget () const
 
bool IsSingleTargetWith (Aura const *aura) const
 
void SetIsSingleTarget (bool val)
 
void UnregisterSingleTarget ()
 
int32 CalcDispelChance (Unit const *auraTarget, bool offensive) const
 
AuraKey GenerateKey (uint32 &recalculateMask) const
 Fills a helper structure containing aura primary key for character_aura, character_aura_effect, pet_aura, pet_aura_effect tables. More...
 
void SetLoadedState (int32 maxDuration, int32 duration, int32 charges, uint8 stackAmount, uint32 recalculateMask, int32 *amount)
 
bool CanPeriodicTickCrit () const
 
bool HasEffect (uint8 effIndex) const
 
bool HasEffectType (AuraType type) const
 
AuraEffectGetEffect (uint32 index) const
 
uint32 GetEffectMask () const
 
void RecalculateAmountOfEffects ()
 
void HandleAllEffects (AuraApplication *aurApp, uint8 mode, bool apply)
 
ApplicationMap const & GetApplicationMap ()
 
void GetApplicationVector (std::vector< AuraApplication * > &applications) const
 
AuraApplication const * GetApplicationOfTarget (ObjectGuid guid) const
 
AuraApplicationGetApplicationOfTarget (ObjectGuid guid)
 
bool IsAppliedOnTarget (ObjectGuid guid) const
 
void SetNeedClientUpdateForTargets () const
 
void HandleAuraSpecificMods (AuraApplication const *aurApp, Unit *caster, bool apply, bool onReapply)
 
bool CanBeAppliedOn (Unit *target)
 
bool CheckAreaTarget (Unit *target)
 
bool CanStackWith (Aura const *existingAura) const
 
bool IsProcOnCooldown (TimePoint now) const
 
void AddProcCooldown (SpellProcEntry const *procEntry, TimePoint now)
 
void ResetProcCooldown ()
 
bool IsUsingCharges () const
 
void SetUsingCharges (bool val)
 
void PrepareProcToTrigger (AuraApplication *aurApp, ProcEventInfo &eventInfo, TimePoint now)
 
void PrepareProcChargeDrop (SpellProcEntry const *procEntry, ProcEventInfo const &eventInfo)
 
void ConsumeProcCharges (SpellProcEntry const *procEntry)
 
uint32 GetProcEffectMask (AuraApplication *aurApp, ProcEventInfo &eventInfo, TimePoint now) const
 
float CalcProcChance (SpellProcEntry const &procEntry, ProcEventInfo &eventInfo) const
 
void TriggerProcOnEvent (uint32 procEffectMask, AuraApplication *aurApp, ProcEventInfo &eventInfo)
 
float CalcPPMProcChance (Unit *actor) const
 
void SetLastProcAttemptTime (TimePoint lastProcAttemptTime)
 
void SetLastProcSuccessTime (TimePoint lastProcSuccessTime)
 
virtual void Heartbeat ()
 
void LoadScripts ()
 
bool CallScriptCheckAreaTargetHandlers (Unit *target)
 
void CallScriptDispel (DispelInfo *dispelInfo)
 
void CallScriptAfterDispel (DispelInfo *dispelInfo)
 
void CallScriptOnHeartbeat ()
 
bool CallScriptEffectApplyHandlers (AuraEffect const *aurEff, AuraApplication const *aurApp, AuraEffectHandleModes mode)
 
bool CallScriptEffectRemoveHandlers (AuraEffect const *aurEff, AuraApplication const *aurApp, AuraEffectHandleModes mode)
 
void CallScriptAfterEffectApplyHandlers (AuraEffect const *aurEff, AuraApplication const *aurApp, AuraEffectHandleModes mode)
 
void CallScriptAfterEffectRemoveHandlers (AuraEffect const *aurEff, AuraApplication const *aurApp, AuraEffectHandleModes mode)
 
bool CallScriptEffectPeriodicHandlers (AuraEffect const *aurEff, AuraApplication const *aurApp)
 
void CallScriptEffectUpdatePeriodicHandlers (AuraEffect *aurEff)
 
void CallScriptEffectCalcAmountHandlers (AuraEffect const *aurEff, int32 &amount, bool &canBeRecalculated)
 
void CallScriptEffectCalcPeriodicHandlers (AuraEffect const *aurEff, bool &isPeriodic, int32 &amplitude)
 
void CallScriptEffectCalcSpellModHandlers (AuraEffect const *aurEff, SpellModifier *&spellMod)
 
void CallScriptEffectCalcCritChanceHandlers (AuraEffect const *aurEff, AuraApplication const *aurApp, Unit const *victim, float &critChance)
 
void CallScriptCalcDamageAndHealingHandlers (AuraEffect const *aurEff, AuraApplication const *aurApp, Unit *victim, int32 &damageOrHealing, int32 &flatMod, float &pctMod)
 
void CallScriptEffectAbsorbHandlers (AuraEffect *aurEff, AuraApplication const *aurApp, DamageInfo &dmgInfo, uint32 &absorbAmount, bool &defaultPrevented)
 
void CallScriptEffectAfterAbsorbHandlers (AuraEffect *aurEff, AuraApplication const *aurApp, DamageInfo &dmgInfo, uint32 &absorbAmount)
 
void CallScriptEffectAbsorbHandlers (AuraEffect *aurEff, AuraApplication const *aurApp, HealInfo &healInfo, uint32 &absorbAmount, bool &defaultPrevented)
 
void CallScriptEffectAfterAbsorbHandlers (AuraEffect *aurEff, AuraApplication const *aurApp, HealInfo &healInfo, uint32 &absorbAmount)
 
void CallScriptEffectManaShieldHandlers (AuraEffect *aurEff, AuraApplication const *aurApp, DamageInfo &dmgInfo, uint32 &absorbAmount, bool &defaultPrevented)
 
void CallScriptEffectAfterManaShieldHandlers (AuraEffect *aurEff, AuraApplication const *aurApp, DamageInfo &dmgInfo, uint32 &absorbAmount)
 
void CallScriptEffectSplitHandlers (AuraEffect *aurEff, AuraApplication const *aurApp, DamageInfo &dmgInfo, uint32 &splitAmount)
 
void CallScriptEnterLeaveCombatHandlers (AuraApplication const *aurApp, bool isNowInCombat)
 
bool CallScriptCheckProcHandlers (AuraApplication const *aurApp, ProcEventInfo &eventInfo)
 
bool CallScriptCheckEffectProcHandlers (AuraEffect const *aurEff, AuraApplication const *aurApp, ProcEventInfo &eventInfo)
 
bool CallScriptPrepareProcHandlers (AuraApplication const *aurApp, ProcEventInfo &eventInfo)
 
bool CallScriptProcHandlers (AuraApplication const *aurApp, ProcEventInfo &eventInfo)
 
void CallScriptAfterProcHandlers (AuraApplication const *aurApp, ProcEventInfo &eventInfo)
 
bool CallScriptEffectProcHandlers (AuraEffect *aurEff, AuraApplication const *aurApp, ProcEventInfo &eventInfo)
 
void CallScriptAfterEffectProcHandlers (AuraEffect *aurEff, AuraApplication const *aurApp, ProcEventInfo &eventInfo)
 
UnitAuraToUnitAura ()
 
UnitAura const * ToUnitAura () const
 
DynObjAuraToDynObjAura ()
 
DynObjAura const * ToDynObjAura () const
 
template<class Script >
ScriptGetScript () const
 
Trinity::IteratorPair< DBStorageIterator< AuraEffect * > > GetAuraEffects ()
 
Trinity::IteratorPair< DBStorageIterator< AuraEffect const * > > GetAuraEffects () const
 
std::size_t GetAuraEffectCount () const
 
virtual std::string GetDebugInfo () const
 
Trinity::unique_weak_ptr< AuraGetWeakPtr () const
 
 Aura (Aura const &)=delete
 
 Aura (Aura &&)=delete
 
Auraoperator= (Aura const &)=delete
 
Auraoperator= (Aura &&)=delete
 

Static Public Member Functions

static uint32 BuildEffectMaskForOwner (SpellInfo const *spellProto, uint32 availableEffectMask, WorldObject *owner)
 
static AuraTryRefreshStackOrCreate (AuraCreateInfo &createInfo, bool updateEffectMask=true)
 
static AuraTryCreate (AuraCreateInfo &createInfo)
 
static AuraCreate (AuraCreateInfo &createInfo)
 
static int32 CalcMaxDuration (SpellInfo const *spellInfo, WorldObject const *caster, std::vector< SpellPowerCost > const *powerCosts)
 
static bool EffectTypeNeedsSendingAmount (AuraType type)
 

Public Attributes

std::vector< AuraScript * > m_loadedScripts
 

Protected Attributes

SpellInfo const *const m_spellInfo
 
Difficulty const m_castDifficulty
 
ObjectGuid const m_castId
 
ObjectGuid const m_casterGuid
 
ObjectGuid const m_castItemGuid
 
uint32 m_castItemId
 
int32 m_castItemLevel
 
SpellCastVisual const m_spellVisual
 
time_t const m_applyTime
 
WorldObject *const m_owner
 
int32 m_maxDuration
 
int32 m_duration
 
int32 m_timeCla
 
std::vector< SpellPowerEntry const * > m_periodicCosts
 
int32 m_updateTargetMapInterval
 
uint8 const m_casterLevel
 
uint8 m_procCharges
 
uint8 m_stackAmount
 
ApplicationMap m_applications
 
bool m_isRemoved
 
bool m_isSingleTarget
 
bool m_isUsingCharges
 
ChargeDropEventm_dropEvent
 
TimePoint m_procCooldown
 
TimePoint m_lastProcAttemptTime
 
TimePoint m_lastProcSuccessTime
 

Private Member Functions

AuraScriptGetScriptByType (std::type_info const &type) const
 
void _DeleteRemovedApplications ()
 

Private Attributes

std::vector< AuraApplication * > _removedApplications
 
AuraEffectVector _effects
 
Trinity::unique_trackable_ptr< Auram_scriptRef
 

Friends

class Unit
 

Detailed Description

Definition at line 121 of file SpellAuras.h.

Member Typedef Documentation

◆ ApplicationMap

typedef std::unordered_map<ObjectGuid, AuraApplication*> Aura::ApplicationMap

Definition at line 126 of file SpellAuras.h.

Constructor & Destructor Documentation

◆ Aura() [1/3]

Aura::Aura ( AuraCreateInfo const &  createInfo)
explicit

Definition at line 467 of file SpellAuras.cpp.

+ Here is the call graph for this function:

◆ ~Aura()

Aura::~Aura ( )
virtual

Definition at line 526 of file SpellAuras.cpp.

+ Here is the call graph for this function:

◆ Aura() [2/3]

Aura::Aura ( Aura const &  )
delete

◆ Aura() [3/3]

Aura::Aura ( Aura &&  )
delete

Member Function Documentation

◆ _ApplyEffectForTargets()

void Aura::_ApplyEffectForTargets ( uint8  effIndex)

Definition at line 781 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _ApplyForTarget()

void Aura::_ApplyForTarget ( Unit target,
Unit caster,
AuraApplication auraApp 
)
virtual

Reimplemented in UnitAura.

Definition at line 571 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _DeleteRemovedApplications()

void Aura::_DeleteRemovedApplications ( )
private

Definition at line 2033 of file SpellAuras.cpp.

+ Here is the caller graph for this function:

◆ _InitEffects()

void Aura::_InitEffects ( uint32  effMask,
Unit caster,
int32 const *  baseAmount 
)

Definition at line 502 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _RegisterForTargets()

void Aura::_RegisterForTargets ( )
inline

Definition at line 163 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ _Remove()

void Aura::_Remove ( AuraRemoveMode  removeMode)

Definition at line 621 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _UnapplyForTarget()

void Aura::_UnapplyForTarget ( Unit target,
Unit caster,
AuraApplication auraApp 
)
virtual
Todo:
Figure out why this happens

Reimplemented in UnitAura.

Definition at line 591 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AddProcCooldown()

void Aura::AddProcCooldown ( SpellProcEntry const *  procEntry,
TimePoint  now 
)

Definition at line 1758 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ApplyForTargets()

void Aura::ApplyForTargets ( )
inline

Definition at line 164 of file SpellAuras.h.

◆ BuildEffectMaskForOwner()

uint32 Aura::BuildEffectMaskForOwner ( SpellInfo const *  spellProto,
uint32  availableEffectMask,
WorldObject owner 
)
static

Definition at line 319 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CalcDispelChance()

int32 Aura::CalcDispelChance ( Unit const *  auraTarget,
bool  offensive 
) const

Definition at line 1225 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CalcMaxCharges() [1/2]

uint8 Aura::CalcMaxCharges ( ) const
inline

Definition at line 186 of file SpellAuras.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CalcMaxCharges() [2/2]

uint8 Aura::CalcMaxCharges ( Unit caster) const

Definition at line 992 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CalcMaxDuration() [1/3]

int32 Aura::CalcMaxDuration ( ) const
inline

Definition at line 173 of file SpellAuras.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CalcMaxDuration() [2/3]

int32 Aura::CalcMaxDuration ( SpellInfo const *  spellInfo,
WorldObject const *  caster,
std::vector< SpellPowerCost > const *  powerCosts 
)
static

Definition at line 897 of file SpellAuras.cpp.

+ Here is the call graph for this function:

◆ CalcMaxDuration() [3/3]

int32 Aura::CalcMaxDuration ( Unit caster) const

Definition at line 892 of file SpellAuras.cpp.

+ Here is the call graph for this function:

◆ CalcMaxStackAmount()

uint32 Aura::CalcMaxStackAmount ( ) const

Definition at line 1071 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CalcPPMProcChance()

float Aura::CalcPPMProcChance ( Unit actor) const

Definition at line 2018 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CalcProcChance()

float Aura::CalcProcChance ( SpellProcEntry const &  procEntry,
ProcEventInfo eventInfo 
) const

Definition at line 1965 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CallScriptAfterDispel()

void Aura::CallScriptAfterDispel ( DispelInfo dispelInfo)

Definition at line 2077 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CallScriptAfterEffectApplyHandlers()

void Aura::CallScriptAfterEffectApplyHandlers ( AuraEffect const *  aurEff,
AuraApplication const *  aurApp,
AuraEffectHandleModes  mode 
)

Definition at line 2138 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CallScriptAfterEffectProcHandlers()

void Aura::CallScriptAfterEffectProcHandlers ( AuraEffect aurEff,
AuraApplication const *  aurApp,
ProcEventInfo eventInfo 
)

Definition at line 2468 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CallScriptAfterEffectRemoveHandlers()

void Aura::CallScriptAfterEffectRemoveHandlers ( AuraEffect const *  aurEff,
AuraApplication const *  aurApp,
AuraEffectHandleModes  mode 
)

Definition at line 2151 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CallScriptAfterProcHandlers()

void Aura::CallScriptAfterProcHandlers ( AuraApplication const *  aurApp,
ProcEventInfo eventInfo 
)

Definition at line 2422 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CallScriptCalcDamageAndHealingHandlers()

void Aura::CallScriptCalcDamageAndHealingHandlers ( AuraEffect const *  aurEff,
AuraApplication const *  aurApp,
Unit victim,
int32 damageOrHealing,
int32 flatMod,
float &  pctMod 
)

Definition at line 2248 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CallScriptCheckAreaTargetHandlers()

bool Aura::CallScriptCheckAreaTargetHandlers ( Unit target)

Definition at line 2051 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CallScriptCheckEffectProcHandlers()

bool Aura::CallScriptCheckEffectProcHandlers ( AuraEffect const *  aurEff,
AuraApplication const *  aurApp,
ProcEventInfo eventInfo 
)

Definition at line 2434 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CallScriptCheckProcHandlers()

bool Aura::CallScriptCheckProcHandlers ( AuraApplication const *  aurApp,
ProcEventInfo eventInfo 
)

Definition at line 2373 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CallScriptDispel()

void Aura::CallScriptDispel ( DispelInfo dispelInfo)

Definition at line 2065 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CallScriptEffectAbsorbHandlers() [1/2]

void Aura::CallScriptEffectAbsorbHandlers ( AuraEffect aurEff,
AuraApplication const *  aurApp,
DamageInfo dmgInfo,
uint32 absorbAmount,
bool &  defaultPrevented 
)

Definition at line 2261 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CallScriptEffectAbsorbHandlers() [2/2]

void Aura::CallScriptEffectAbsorbHandlers ( AuraEffect aurEff,
AuraApplication const *  aurApp,
HealInfo healInfo,
uint32 absorbAmount,
bool &  defaultPrevented 
)

Definition at line 2290 of file SpellAuras.cpp.

+ Here is the call graph for this function:

◆ CallScriptEffectAfterAbsorbHandlers() [1/2]

void Aura::CallScriptEffectAfterAbsorbHandlers ( AuraEffect aurEff,
AuraApplication const *  aurApp,
DamageInfo dmgInfo,
uint32 absorbAmount 
)

Definition at line 2277 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CallScriptEffectAfterAbsorbHandlers() [2/2]

void Aura::CallScriptEffectAfterAbsorbHandlers ( AuraEffect aurEff,
AuraApplication const *  aurApp,
HealInfo healInfo,
uint32 absorbAmount 
)

Definition at line 2306 of file SpellAuras.cpp.

+ Here is the call graph for this function:

◆ CallScriptEffectAfterManaShieldHandlers()

void Aura::CallScriptEffectAfterManaShieldHandlers ( AuraEffect aurEff,
AuraApplication const *  aurApp,
DamageInfo dmgInfo,
uint32 absorbAmount 
)

Definition at line 2335 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CallScriptEffectApplyHandlers()

bool Aura::CallScriptEffectApplyHandlers ( AuraEffect const *  aurEff,
AuraApplication const *  aurApp,
AuraEffectHandleModes  mode 
)

Definition at line 2101 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CallScriptEffectCalcAmountHandlers()

void Aura::CallScriptEffectCalcAmountHandlers ( AuraEffect const *  aurEff,
int32 amount,
bool &  canBeRecalculated 
)

Definition at line 2196 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CallScriptEffectCalcCritChanceHandlers()

void Aura::CallScriptEffectCalcCritChanceHandlers ( AuraEffect const *  aurEff,
AuraApplication const *  aurApp,
Unit const *  victim,
float &  critChance 
)

Definition at line 2235 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CallScriptEffectCalcPeriodicHandlers()

void Aura::CallScriptEffectCalcPeriodicHandlers ( AuraEffect const *  aurEff,
bool &  isPeriodic,
int32 amplitude 
)

Definition at line 2209 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CallScriptEffectCalcSpellModHandlers()

void Aura::CallScriptEffectCalcSpellModHandlers ( AuraEffect const *  aurEff,
SpellModifier *&  spellMod 
)

Definition at line 2222 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CallScriptEffectManaShieldHandlers()

void Aura::CallScriptEffectManaShieldHandlers ( AuraEffect aurEff,
AuraApplication const *  aurApp,
DamageInfo dmgInfo,
uint32 absorbAmount,
bool &  defaultPrevented 
)

Definition at line 2319 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CallScriptEffectPeriodicHandlers()

bool Aura::CallScriptEffectPeriodicHandlers ( AuraEffect const *  aurEff,
AuraApplication const *  aurApp 
)

Definition at line 2164 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CallScriptEffectProcHandlers()

bool Aura::CallScriptEffectProcHandlers ( AuraEffect aurEff,
AuraApplication const *  aurApp,
ProcEventInfo eventInfo 
)

Definition at line 2450 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CallScriptEffectRemoveHandlers()

bool Aura::CallScriptEffectRemoveHandlers ( AuraEffect const *  aurEff,
AuraApplication const *  aurApp,
AuraEffectHandleModes  mode 
)

Definition at line 2120 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CallScriptEffectSplitHandlers()

void Aura::CallScriptEffectSplitHandlers ( AuraEffect aurEff,
AuraApplication const *  aurApp,
DamageInfo dmgInfo,
uint32 splitAmount 
)

Definition at line 2348 of file SpellAuras.cpp.

+ Here is the call graph for this function:

◆ CallScriptEffectUpdatePeriodicHandlers()

void Aura::CallScriptEffectUpdatePeriodicHandlers ( AuraEffect aurEff)

Definition at line 2183 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CallScriptEnterLeaveCombatHandlers()

void Aura::CallScriptEnterLeaveCombatHandlers ( AuraApplication const *  aurApp,
bool  isNowInCombat 
)

Definition at line 2361 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CallScriptOnHeartbeat()

void Aura::CallScriptOnHeartbeat ( )

Definition at line 2089 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CallScriptPrepareProcHandlers()

bool Aura::CallScriptPrepareProcHandlers ( AuraApplication const *  aurApp,
ProcEventInfo eventInfo 
)

Definition at line 2388 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CallScriptProcHandlers()

bool Aura::CallScriptProcHandlers ( AuraApplication const *  aurApp,
ProcEventInfo eventInfo 
)

Definition at line 2406 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CanBeAppliedOn()

bool Aura::CanBeAppliedOn ( Unit target)

Definition at line 1588 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CanBeSaved()

bool Aura::CanBeSaved ( ) const

Definition at line 1156 of file SpellAuras.cpp.

+ Here is the call graph for this function:

◆ CanPeriodicTickCrit()

bool Aura::CanPeriodicTickCrit ( ) const

Definition at line 515 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CanStackWith()

bool Aura::CanStackWith ( Aura const *  existingAura) const

Definition at line 1614 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CheckAreaTarget()

bool Aura::CheckAreaTarget ( Unit target)

Definition at line 1609 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ConsumeProcCharges()

void Aura::ConsumeProcCharges ( SpellProcEntry const *  procEntry)

Definition at line 1801 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Create()

Aura * Aura::Create ( AuraCreateInfo createInfo)
static

Definition at line 402 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DropCharge()

bool Aura::DropCharge ( AuraRemoveMode  removeMode = AURA_REMOVE_BY_DEFAULT)
inline

Definition at line 188 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ DropChargeDelayed()

void Aura::DropChargeDelayed ( uint32  delay,
AuraRemoveMode  removeMode = AURA_REMOVE_BY_DEFAULT 
)

Definition at line 1034 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ EffectTypeNeedsSendingAmount()

bool Aura::EffectTypeNeedsSendingAmount ( AuraType  type)
static

Definition at line 1288 of file SpellAuras.cpp.

+ Here is the caller graph for this function:

◆ FillTargetMap()

virtual void Aura::FillTargetMap ( std::unordered_map< Unit *, uint32 > &  targets,
Unit caster 
)
pure virtual

Implemented in UnitAura, and DynObjAura.

+ Here is the caller graph for this function:

◆ GenerateKey()

AuraKey Aura::GenerateKey ( uint32 recalculateMask) const

Fills a helper structure containing aura primary key for character_aura, character_aura_effect, pet_aura, pet_aura_effect tables.

Parameters
[out]recalculateMaskMask of effects that can be recalculated to store in database - not part of aura key.
Returns
Aura key.

Definition at line 1240 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetApplicationMap()

ApplicationMap const & Aura::GetApplicationMap ( )
inline

Definition at line 240 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ GetApplicationOfTarget() [1/2]

AuraApplication * Aura::GetApplicationOfTarget ( ObjectGuid  guid)

Definition at line 1347 of file SpellAuras.cpp.

+ Here is the call graph for this function:

◆ GetApplicationOfTarget() [2/2]

AuraApplication const * Aura::GetApplicationOfTarget ( ObjectGuid  guid) const

Definition at line 1342 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetApplicationVector()

void Aura::GetApplicationVector ( std::vector< AuraApplication * > &  applications) const

Definition at line 1331 of file SpellAuras.cpp.

+ Here is the caller graph for this function:

◆ GetApplyTime()

time_t Aura::GetApplyTime ( ) const
inline

Definition at line 170 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ GetAuraEffectCount()

std::size_t Aura::GetAuraEffectCount ( ) const
inline

Definition at line 328 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ GetAuraEffects() [1/2]

Trinity::IteratorPair< DBStorageIterator< AuraEffect * > > Aura::GetAuraEffects ( )
inline

Definition at line 316 of file SpellAuras.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetAuraEffects() [2/2]

Trinity::IteratorPair< DBStorageIterator< AuraEffect const * > > Aura::GetAuraEffects ( ) const
inline

Definition at line 322 of file SpellAuras.h.

+ Here is the call graph for this function:

◆ GetCastDifficulty()

Difficulty Aura::GetCastDifficulty ( ) const
inline

Definition at line 139 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ GetCaster()

Unit * Aura::GetCaster ( ) const

Definition at line 542 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetCasterGUID()

ObjectGuid Aura::GetCasterGUID ( ) const
inline

Definition at line 142 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ GetCasterLevel()

uint8 Aura::GetCasterLevel ( ) const
inline

Definition at line 198 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ GetCastId()

ObjectGuid Aura::GetCastId ( ) const
inline

Definition at line 141 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ GetCastItemGUID()

ObjectGuid Aura::GetCastItemGUID ( ) const
inline

Definition at line 143 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ GetCastItemId()

uint32 Aura::GetCastItemId ( ) const
inline

Definition at line 144 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ GetCastItemLevel()

int32 Aura::GetCastItemLevel ( ) const
inline

Definition at line 145 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ GetCharges()

uint8 Aura::GetCharges ( ) const
inline

Definition at line 183 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ GetDebugInfo()

std::string Aura::GetDebugInfo ( ) const
virtual

Definition at line 2481 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetDuration()

int32 Aura::GetDuration ( ) const
inline

Definition at line 176 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ GetDynobjOwner()

DynamicObject * Aura::GetDynobjOwner ( ) const
inline

Definition at line 151 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ GetEffect()

AuraEffect * Aura::GetEffect ( uint32  index) const

Definition at line 558 of file SpellAuras.cpp.

+ Here is the caller graph for this function:

◆ GetEffectMask()

uint32 Aura::GetEffectMask ( ) const

Definition at line 1323 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetId()

uint32 Aura::GetId ( ) const
inline

Definition at line 138 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ GetMaxDuration()

int32 Aura::GetMaxDuration ( ) const
inline

Definition at line 171 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ GetOwner()

WorldObject * Aura::GetOwner ( ) const
inline

Definition at line 149 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ GetProcEffectMask()

uint32 Aura::GetProcEffectMask ( AuraApplication aurApp,
ProcEventInfo eventInfo,
TimePoint  now 
) const
Todo:
Todo:
this needs to be unified for all kinds of auras

Definition at line 1815 of file SpellAuras.cpp.

+ Here is the call graph for this function:

◆ GetScript()

template<class Script >
Script * Aura::GetScript ( ) const
inline

Definition at line 309 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ GetScriptByType()

AuraScript * Aura::GetScriptByType ( std::type_info const &  type) const
private

Definition at line 494 of file SpellAuras.cpp.

◆ GetSpellInfo()

SpellInfo const * Aura::GetSpellInfo ( ) const
inline

Definition at line 137 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ GetSpellVisual()

SpellCastVisual Aura::GetSpellVisual ( ) const
inline

Definition at line 146 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ GetStackAmount()

uint8 Aura::GetStackAmount ( ) const
inline

Definition at line 192 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ GetType()

AuraObjectType Aura::GetType ( ) const

Definition at line 566 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetUnitOwner()

Unit * Aura::GetUnitOwner ( ) const
inline

Definition at line 150 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ GetWeakPtr()

Trinity::unique_weak_ptr< Aura > Aura::GetWeakPtr ( ) const
inline

Definition at line 332 of file SpellAuras.h.

◆ GetWorldObjectCaster()

WorldObject * Aura::GetWorldObjectCaster ( ) const

Definition at line 550 of file SpellAuras.cpp.

+ Here is the call graph for this function:

◆ HandleAllEffects()

void Aura::HandleAllEffects ( AuraApplication aurApp,
uint8  mode,
bool  apply 
)

Definition at line 1315 of file SpellAuras.cpp.

+ Here is the call graph for this function:

◆ HandleAuraSpecificMods()

void Aura::HandleAuraSpecificMods ( AuraApplication const *  aurApp,
Unit caster,
bool  apply,
bool  onReapply 
)

Definition at line 1364 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HasEffect()

bool Aura::HasEffect ( uint8  effIndex) const
inline

Definition at line 231 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ HasEffectType()

bool Aura::HasEffectType ( AuraType  type) const

Definition at line 1279 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HasMoreThanOneEffectForType()

bool Aura::HasMoreThanOneEffectForType ( AuraType  auraType) const

Definition at line 1119 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Heartbeat()

virtual void Aura::Heartbeat ( )
inlinevirtual

Reimplemented in UnitAura.

Definition at line 266 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ IsAppliedOnTarget()

bool Aura::IsAppliedOnTarget ( ObjectGuid  guid) const

Definition at line 1352 of file SpellAuras.cpp.

+ Here is the caller graph for this function:

◆ IsArea()

bool Aura::IsArea ( ) const

Definition at line 1129 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsDeathPersistent()

bool Aura::IsDeathPersistent ( ) const

Definition at line 1143 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsExpired()

bool Aura::IsExpired ( ) const
inline

Definition at line 180 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ IsPassive()

bool Aura::IsPassive ( ) const

Definition at line 1138 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsPermanent()

bool Aura::IsPermanent ( ) const
inline

Definition at line 181 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ IsProcOnCooldown()

bool Aura::IsProcOnCooldown ( TimePoint  now) const

Definition at line 1753 of file SpellAuras.cpp.

+ Here is the caller graph for this function:

◆ IsRemoved()

bool Aura::IsRemoved ( ) const
inline

Definition at line 208 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ IsRemovedOnShapeLost()

bool Aura::IsRemovedOnShapeLost ( Unit target) const

Definition at line 1148 of file SpellAuras.cpp.

+ Here is the call graph for this function:

◆ IsSingleTarget()

bool Aura::IsSingleTarget ( ) const
inline

Definition at line 210 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ IsSingleTargetWith()

bool Aura::IsSingleTargetWith ( Aura const *  aura) const

Definition at line 1195 of file SpellAuras.cpp.

+ Here is the call graph for this function:

◆ IsUsingCharges()

bool Aura::IsUsingCharges ( ) const
inline

Definition at line 255 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ IsUsingStacks()

bool Aura::IsUsingStacks ( ) const

Definition at line 1066 of file SpellAuras.cpp.

+ Here is the caller graph for this function:

◆ LoadScripts()

void Aura::LoadScripts ( )

Definition at line 2041 of file SpellAuras.cpp.

+ Here is the caller graph for this function:

◆ ModCharges()

bool Aura::ModCharges ( int32  num,
AuraRemoveMode  removeMode = AURA_REMOVE_BY_DEFAULT 
)

Definition at line 1005 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ModChargesDelayed()

void Aura::ModChargesDelayed ( int32  num,
AuraRemoveMode  removeMode = AURA_REMOVE_BY_DEFAULT 
)

Definition at line 1028 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ModStackAmount()

bool Aura::ModStackAmount ( int32  num,
AuraRemoveMode  removeMode = AURA_REMOVE_BY_DEFAULT,
bool  resetPeriodicTimer = true 
)

Definition at line 1081 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator=() [1/2]

Aura & Aura::operator= ( Aura &&  )
delete

◆ operator=() [2/2]

Aura & Aura::operator= ( Aura const &  )
delete

◆ PrepareProcChargeDrop()

void Aura::PrepareProcChargeDrop ( SpellProcEntry const *  procEntry,
ProcEventInfo const &  eventInfo 
)

Definition at line 1791 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ PrepareProcToTrigger()

void Aura::PrepareProcToTrigger ( AuraApplication aurApp,
ProcEventInfo eventInfo,
TimePoint  now 
)

Definition at line 1774 of file SpellAuras.cpp.

+ Here is the call graph for this function:

◆ RecalculateAmountOfEffects()

void Aura::RecalculateAmountOfEffects ( )

Definition at line 1306 of file SpellAuras.cpp.

+ Here is the call graph for this function:

◆ RefreshDuration()

void Aura::RefreshDuration ( bool  withMods = false)

Definition at line 937 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RefreshTimers()

void Aura::RefreshTimers ( bool  resetPeriodicTimer)

Definition at line 961 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Remove()

virtual void Aura::Remove ( AuraRemoveMode  removeMode = AURA_REMOVE_BY_DEFAULT)
pure virtual

Implemented in UnitAura, and DynObjAura.

+ Here is the caller graph for this function:

◆ ResetProcCooldown()

void Aura::ResetProcCooldown ( )

Definition at line 1769 of file SpellAuras.cpp.

+ Here is the call graph for this function:

◆ SaveCasterInfo()

void Aura::SaveCasterInfo ( Unit caster)

◆ SetCharges()

void Aura::SetCharges ( uint8  charges)

Definition at line 982 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetDuration()

void Aura::SetDuration ( int32  duration,
bool  withMods = false 
)

Definition at line 926 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetIsSingleTarget()

void Aura::SetIsSingleTarget ( bool  val)
inline

Definition at line 212 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ SetLastProcAttemptTime()

void Aura::SetLastProcAttemptTime ( TimePoint  lastProcAttemptTime)
inline

Definition at line 264 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ SetLastProcSuccessTime()

void Aura::SetLastProcSuccessTime ( TimePoint  lastProcSuccessTime)
inline

Definition at line 265 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ SetLoadedState()

void Aura::SetLoadedState ( int32  maxDuration,
int32  duration,
int32  charges,
uint8  stackAmount,
uint32  recalculateMask,
int32 amount 
)

Definition at line 1261 of file SpellAuras.cpp.

+ Here is the call graph for this function:

◆ SetMaxDuration()

void Aura::SetMaxDuration ( int32  duration)
inline

Definition at line 172 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ SetNeedClientUpdateForTargets()

void Aura::SetNeedClientUpdateForTargets ( ) const

Definition at line 1357 of file SpellAuras.cpp.

+ Here is the caller graph for this function:

◆ SetStackAmount()

void Aura::SetStackAmount ( uint8  num)

Definition at line 1044 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetUsingCharges()

void Aura::SetUsingCharges ( bool  val)
inline

Definition at line 256 of file SpellAuras.h.

◆ ToDynObjAura() [1/2]

DynObjAura * Aura::ToDynObjAura ( )
inline

Definition at line 305 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ ToDynObjAura() [2/2]

DynObjAura const * Aura::ToDynObjAura ( ) const
inline

Definition at line 306 of file SpellAuras.h.

◆ ToUnitAura() [1/2]

UnitAura * Aura::ToUnitAura ( )
inline

Definition at line 302 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ ToUnitAura() [2/2]

UnitAura const * Aura::ToUnitAura ( ) const
inline

Definition at line 303 of file SpellAuras.h.

◆ TriggerProcOnEvent()

void Aura::TriggerProcOnEvent ( uint32  procEffectMask,
AuraApplication aurApp,
ProcEventInfo eventInfo 
)

Definition at line 1994 of file SpellAuras.cpp.

+ Here is the call graph for this function:

◆ TryCreate()

Aura * Aura::TryCreate ( AuraCreateInfo createInfo)
static

Definition at line 389 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ TryRefreshStackOrCreate()

Aura * Aura::TryRefreshStackOrCreate ( AuraCreateInfo createInfo,
bool  updateEffectMask = true 
)
static

Definition at line 349 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UnregisterSingleTarget()

void Aura::UnregisterSingleTarget ( )

Definition at line 1216 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Update()

void Aura::Update ( uint32  diff,
Unit caster 
)

Definition at line 840 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateOwner()

void Aura::UpdateOwner ( uint32  diff,
WorldObject owner 
)

Definition at line 802 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateTargetMap()

void Aura::UpdateTargetMap ( Unit caster,
bool  apply = true 
)
Todo:
There is a crash caused by shadowfiend load addon

Definition at line 643 of file SpellAuras.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Friends And Related Function Documentation

◆ Unit

friend class Unit
friend

Definition at line 123 of file SpellAuras.h.

Member Data Documentation

◆ _effects

AuraEffectVector Aura::_effects
private

Definition at line 381 of file SpellAuras.h.

◆ _removedApplications

std::vector<AuraApplication*> Aura::_removedApplications
private

Definition at line 379 of file SpellAuras.h.

◆ m_applications

ApplicationMap Aura::m_applications
protected

Definition at line 366 of file SpellAuras.h.

◆ m_applyTime

time_t const Aura::m_applyTime
protected

Definition at line 353 of file SpellAuras.h.

◆ m_castDifficulty

Difficulty const Aura::m_castDifficulty
protected

Definition at line 346 of file SpellAuras.h.

◆ m_casterGuid

ObjectGuid const Aura::m_casterGuid
protected

Definition at line 348 of file SpellAuras.h.

◆ m_casterLevel

uint8 const Aura::m_casterLevel
protected

Definition at line 362 of file SpellAuras.h.

◆ m_castId

ObjectGuid const Aura::m_castId
protected

Definition at line 347 of file SpellAuras.h.

◆ m_castItemGuid

ObjectGuid const Aura::m_castItemGuid
protected

Definition at line 349 of file SpellAuras.h.

◆ m_castItemId

uint32 Aura::m_castItemId
protected

Definition at line 350 of file SpellAuras.h.

◆ m_castItemLevel

int32 Aura::m_castItemLevel
protected

Definition at line 351 of file SpellAuras.h.

◆ m_dropEvent

ChargeDropEvent* Aura::m_dropEvent
protected

Definition at line 372 of file SpellAuras.h.

◆ m_duration

int32 Aura::m_duration
protected

Definition at line 357 of file SpellAuras.h.

◆ m_isRemoved

bool Aura::m_isRemoved
protected

Definition at line 368 of file SpellAuras.h.

◆ m_isSingleTarget

bool Aura::m_isSingleTarget
protected

Definition at line 369 of file SpellAuras.h.

◆ m_isUsingCharges

bool Aura::m_isUsingCharges
protected

Definition at line 370 of file SpellAuras.h.

◆ m_lastProcAttemptTime

TimePoint Aura::m_lastProcAttemptTime
protected

Definition at line 375 of file SpellAuras.h.

◆ m_lastProcSuccessTime

TimePoint Aura::m_lastProcSuccessTime
protected

Definition at line 376 of file SpellAuras.h.

◆ m_loadedScripts

std::vector<AuraScript*> Aura::m_loadedScripts

Definition at line 314 of file SpellAuras.h.

◆ m_maxDuration

int32 Aura::m_maxDuration
protected

Definition at line 356 of file SpellAuras.h.

◆ m_owner

WorldObject* const Aura::m_owner
protected

Definition at line 354 of file SpellAuras.h.

◆ m_periodicCosts

std::vector<SpellPowerEntry const*> Aura::m_periodicCosts
protected

Definition at line 359 of file SpellAuras.h.

◆ m_procCharges

uint8 Aura::m_procCharges
protected

Definition at line 363 of file SpellAuras.h.

◆ m_procCooldown

TimePoint Aura::m_procCooldown
protected

Definition at line 374 of file SpellAuras.h.

◆ m_scriptRef

Trinity::unique_trackable_ptr<Aura> Aura::m_scriptRef
private

Definition at line 384 of file SpellAuras.h.

◆ m_spellInfo

SpellInfo const* const Aura::m_spellInfo
protected

Definition at line 345 of file SpellAuras.h.

◆ m_spellVisual

SpellCastVisual const Aura::m_spellVisual
protected

Definition at line 352 of file SpellAuras.h.

◆ m_stackAmount

uint8 Aura::m_stackAmount
protected

Definition at line 364 of file SpellAuras.h.

◆ m_timeCla

int32 Aura::m_timeCla
protected

Definition at line 358 of file SpellAuras.h.

◆ m_updateTargetMapInterval

int32 Aura::m_updateTargetMapInterval
protected

Definition at line 360 of file SpellAuras.h.


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