TrinityCore
Loading...
Searching...
No Matches
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, SpellEffectValue const *baseAmount)
 
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
 
void SetSpellVisual (SpellCastVisual const &spellVisual)
 
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.
 
void SetLoadedState (int32 maxDuration, int32 duration, int32 charges, uint32 recalculateMask, SpellEffectValue const *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, SpellEffectValue &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
 
Trinity::unique_weak_ptr< AuraEffectGetEffectWeakPtr (SpellEffIndex index) 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 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 167 of file SpellAuras.h.

Member Typedef Documentation

◆ ApplicationMap

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

Definition at line 172 of file SpellAuras.h.

Constructor & Destructor Documentation

◆ Aura() [1/3]

Aura::Aura ( AuraCreateInfo const &  createInfo)
explicit

Definition at line 479 of file SpellAuras.cpp.

+ Here is the call graph for this function:

◆ ~Aura()

Aura::~Aura ( )
virtual

Definition at line 538 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 799 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 589 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 2057 of file SpellAuras.cpp.

+ Here is the caller graph for this function:

◆ _InitEffects()

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

Definition at line 514 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 209 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ _Remove()

void Aura::_Remove ( AuraRemoveMode  removeMode)

Definition at line 639 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 609 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 1785 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 210 of file SpellAuras.h.

◆ BuildEffectMaskForOwner()

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

Definition at line 323 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 1240 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 232 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 1007 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 219 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 915 of file SpellAuras.cpp.

+ Here is the call graph for this function:

◆ CalcMaxDuration() [3/3]

int32 Aura::CalcMaxDuration ( Unit caster) const

Definition at line 910 of file SpellAuras.cpp.

+ Here is the call graph for this function:

◆ CalcMaxStackAmount()

uint32 Aura::CalcMaxStackAmount ( ) const

Definition at line 1086 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 2042 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 1989 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 2101 of file SpellAuras.cpp.

+ Here is the caller graph for this function:

◆ CallScriptAfterEffectApplyHandlers()

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

Definition at line 2162 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 2492 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 2175 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 2446 of file SpellAuras.cpp.

+ 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 2272 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 2075 of file SpellAuras.cpp.

+ Here is the caller graph for this function:

◆ CallScriptCheckEffectProcHandlers()

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

Definition at line 2458 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 2397 of file SpellAuras.cpp.

+ Here is the caller graph for this function:

◆ CallScriptDispel()

void Aura::CallScriptDispel ( DispelInfo dispelInfo)

Definition at line 2089 of file SpellAuras.cpp.

+ 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 2285 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 2314 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 2301 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 2330 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 2359 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 2125 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,
SpellEffectValue amount,
bool &  canBeRecalculated 
)

Definition at line 2220 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 2259 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 2233 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 2246 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 2343 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 2188 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 2474 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 2144 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 2372 of file SpellAuras.cpp.

+ Here is the call graph for this function:

◆ CallScriptEffectUpdatePeriodicHandlers()

void Aura::CallScriptEffectUpdatePeriodicHandlers ( AuraEffect aurEff)

Definition at line 2207 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 2385 of file SpellAuras.cpp.

+ Here is the caller graph for this function:

◆ CallScriptOnHeartbeat()

void Aura::CallScriptOnHeartbeat ( )

Definition at line 2113 of file SpellAuras.cpp.

+ Here is the caller graph for this function:

◆ CallScriptPrepareProcHandlers()

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

Definition at line 2412 of file SpellAuras.cpp.

+ Here is the caller graph for this function:

◆ CallScriptProcHandlers()

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

Definition at line 2430 of file SpellAuras.cpp.

+ Here is the caller graph for this function:

◆ CanBeAppliedOn()

bool Aura::CanBeAppliedOn ( Unit target)

Definition at line 1615 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 1171 of file SpellAuras.cpp.

+ Here is the call graph for this function:

◆ CanPeriodicTickCrit()

bool Aura::CanPeriodicTickCrit ( ) const

Definition at line 527 of file SpellAuras.cpp.

+ Here is the call graph for this function:

◆ CanStackWith()

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

Definition at line 1641 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 1636 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 1828 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 406 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 234 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 1049 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 1302 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 1255 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 286 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ GetApplicationOfTarget() [1/2]

AuraApplication * Aura::GetApplicationOfTarget ( ObjectGuid  guid)

Definition at line 1361 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 1356 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 1345 of file SpellAuras.cpp.

+ Here is the caller graph for this function:

◆ GetApplyTime()

time_t Aura::GetApplyTime ( ) const
inline

Definition at line 216 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ GetAuraEffectCount()

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

Definition at line 374 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 362 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 368 of file SpellAuras.h.

+ Here is the call graph for this function:

◆ GetCastDifficulty()

Difficulty Aura::GetCastDifficulty ( ) const
inline

Definition at line 184 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ GetCaster()

Unit * Aura::GetCaster ( ) const

Definition at line 560 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 187 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ GetCasterLevel()

uint8 Aura::GetCasterLevel ( ) const
inline

Definition at line 244 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ GetCastId()

ObjectGuid Aura::GetCastId ( ) const
inline

Definition at line 186 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ GetCastItemGUID()

ObjectGuid Aura::GetCastItemGUID ( ) const
inline

Definition at line 188 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ GetCastItemId()

uint32 Aura::GetCastItemId ( ) const
inline

Definition at line 189 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ GetCastItemLevel()

int32 Aura::GetCastItemLevel ( ) const
inline

Definition at line 190 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ GetCharges()

uint8 Aura::GetCharges ( ) const
inline

Definition at line 229 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ GetDebugInfo()

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

Definition at line 2505 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 222 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ GetDynobjOwner()

DynamicObject * Aura::GetDynobjOwner ( ) const
inline

Definition at line 197 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ GetEffect()

AuraEffect * Aura::GetEffect ( uint32  index) const

Definition at line 576 of file SpellAuras.cpp.

+ Here is the caller graph for this function:

◆ GetEffectMask()

uint32 Aura::GetEffectMask ( ) const

Definition at line 1337 of file SpellAuras.cpp.

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

◆ GetEffectWeakPtr()

Trinity::unique_weak_ptr< AuraEffect > Aura::GetEffectWeakPtr ( SpellEffIndex  index) const
inline

Definition at line 379 of file SpellAuras.h.

◆ GetId()

uint32 Aura::GetId ( ) const
inline

Definition at line 183 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ GetMaxDuration()

int32 Aura::GetMaxDuration ( ) const
inline

Definition at line 217 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ GetOwner()

WorldObject * Aura::GetOwner ( ) const
inline

Definition at line 195 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 1842 of file SpellAuras.cpp.

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

◆ GetScript()

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

Definition at line 355 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 506 of file SpellAuras.cpp.

◆ GetSpellInfo()

SpellInfo const * Aura::GetSpellInfo ( ) const
inline

Definition at line 182 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ GetSpellVisual()

SpellCastVisual Aura::GetSpellVisual ( ) const
inline

Definition at line 191 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ GetStackAmount()

uint8 Aura::GetStackAmount ( ) const
inline

Definition at line 238 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ GetType()

AuraObjectType Aura::GetType ( ) const

Definition at line 584 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 196 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 378 of file SpellAuras.h.

◆ GetWorldObjectCaster()

WorldObject * Aura::GetWorldObjectCaster ( ) const

Definition at line 568 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 1329 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 1378 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 277 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ HasEffectType()

bool Aura::HasEffectType ( AuraType  type) const

Definition at line 1293 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 1134 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 312 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ IsAppliedOnTarget()

bool Aura::IsAppliedOnTarget ( ObjectGuid  guid) const

Definition at line 1366 of file SpellAuras.cpp.

+ Here is the caller graph for this function:

◆ IsArea()

bool Aura::IsArea ( ) const

Definition at line 1144 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 1158 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 226 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ IsPassive()

bool Aura::IsPassive ( ) const

Definition at line 1153 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 227 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ IsProcOnCooldown()

bool Aura::IsProcOnCooldown ( TimePoint  now) const

Definition at line 1780 of file SpellAuras.cpp.

+ Here is the caller graph for this function:

◆ IsRemoved()

bool Aura::IsRemoved ( ) const
inline

Definition at line 254 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ IsRemovedOnShapeLost()

bool Aura::IsRemovedOnShapeLost ( Unit target) const

Definition at line 1163 of file SpellAuras.cpp.

+ Here is the call graph for this function:

◆ IsSingleTarget()

bool Aura::IsSingleTarget ( ) const
inline

Definition at line 256 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ IsSingleTargetWith()

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

Definition at line 1210 of file SpellAuras.cpp.

+ Here is the call graph for this function:

◆ IsUsingCharges()

bool Aura::IsUsingCharges ( ) const
inline

Definition at line 301 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ IsUsingStacks()

bool Aura::IsUsingStacks ( ) const

Definition at line 1081 of file SpellAuras.cpp.

+ Here is the caller graph for this function:

◆ LoadScripts()

void Aura::LoadScripts ( )

Definition at line 2065 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 1020 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 1043 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 1096 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 1818 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 1801 of file SpellAuras.cpp.

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

◆ RecalculateAmountOfEffects()

void Aura::RecalculateAmountOfEffects ( )

Definition at line 1320 of file SpellAuras.cpp.

+ Here is the call graph for this function:

◆ RefreshDuration()

void Aura::RefreshDuration ( bool  withMods = false)

Definition at line 955 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 979 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 1796 of file SpellAuras.cpp.

+ Here is the call graph for this function:

◆ SetCharges()

void Aura::SetCharges ( uint8  charges)

Definition at line 997 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 944 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 258 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ SetLastProcAttemptTime()

void Aura::SetLastProcAttemptTime ( TimePoint  lastProcAttemptTime)
inline

Definition at line 310 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ SetLastProcSuccessTime()

void Aura::SetLastProcSuccessTime ( TimePoint  lastProcSuccessTime)
inline

Definition at line 311 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ SetLoadedState()

void Aura::SetLoadedState ( int32  maxDuration,
int32  duration,
int32  charges,
uint32  recalculateMask,
SpellEffectValue const *  amount 
)

Definition at line 1276 of file SpellAuras.cpp.

+ Here is the call graph for this function:

◆ SetMaxDuration()

void Aura::SetMaxDuration ( int32  duration)
inline

Definition at line 218 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ SetNeedClientUpdateForTargets()

void Aura::SetNeedClientUpdateForTargets ( ) const

Definition at line 1371 of file SpellAuras.cpp.

+ Here is the caller graph for this function:

◆ SetSpellVisual()

void Aura::SetSpellVisual ( SpellCastVisual const &  spellVisual)

Definition at line 554 of file SpellAuras.cpp.

+ Here is the call graph for this function:

◆ SetStackAmount()

void Aura::SetStackAmount ( uint8  num)

Definition at line 1059 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 302 of file SpellAuras.h.

◆ ToDynObjAura() [1/2]

DynObjAura * Aura::ToDynObjAura ( )
inline

Definition at line 351 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ ToDynObjAura() [2/2]

DynObjAura const * Aura::ToDynObjAura ( ) const
inline

Definition at line 352 of file SpellAuras.h.

◆ ToUnitAura() [1/2]

UnitAura * Aura::ToUnitAura ( )
inline

Definition at line 348 of file SpellAuras.h.

+ Here is the caller graph for this function:

◆ ToUnitAura() [2/2]

UnitAura const * Aura::ToUnitAura ( ) const
inline

Definition at line 349 of file SpellAuras.h.

◆ TriggerProcOnEvent()

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

Definition at line 2018 of file SpellAuras.cpp.

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

◆ TryCreate()

Aura * Aura::TryCreate ( AuraCreateInfo createInfo)
static

Definition at line 393 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 353 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 1231 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 858 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 820 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 661 of file SpellAuras.cpp.

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

Friends And Related Symbol Documentation

◆ Unit

friend class Unit
friend

Definition at line 169 of file SpellAuras.h.

Member Data Documentation

◆ _effects

AuraEffectVector Aura::_effects
private

Definition at line 428 of file SpellAuras.h.

◆ _removedApplications

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

Definition at line 426 of file SpellAuras.h.

◆ m_applications

ApplicationMap Aura::m_applications
protected

Definition at line 413 of file SpellAuras.h.

◆ m_applyTime

time_t const Aura::m_applyTime
protected

Definition at line 400 of file SpellAuras.h.

◆ m_castDifficulty

Difficulty const Aura::m_castDifficulty
protected

Definition at line 393 of file SpellAuras.h.

◆ m_casterGuid

ObjectGuid const Aura::m_casterGuid
protected

Definition at line 395 of file SpellAuras.h.

◆ m_casterLevel

uint8 const Aura::m_casterLevel
protected

Definition at line 409 of file SpellAuras.h.

◆ m_castId

ObjectGuid const Aura::m_castId
protected

Definition at line 394 of file SpellAuras.h.

◆ m_castItemGuid

ObjectGuid const Aura::m_castItemGuid
protected

Definition at line 396 of file SpellAuras.h.

◆ m_castItemId

uint32 Aura::m_castItemId
protected

Definition at line 397 of file SpellAuras.h.

◆ m_castItemLevel

int32 Aura::m_castItemLevel
protected

Definition at line 398 of file SpellAuras.h.

◆ m_dropEvent

ChargeDropEvent* Aura::m_dropEvent
protected

Definition at line 419 of file SpellAuras.h.

◆ m_duration

int32 Aura::m_duration
protected

Definition at line 404 of file SpellAuras.h.

◆ m_isRemoved

bool Aura::m_isRemoved
protected

Definition at line 415 of file SpellAuras.h.

◆ m_isSingleTarget

bool Aura::m_isSingleTarget
protected

Definition at line 416 of file SpellAuras.h.

◆ m_isUsingCharges

bool Aura::m_isUsingCharges
protected

Definition at line 417 of file SpellAuras.h.

◆ m_lastProcAttemptTime

TimePoint Aura::m_lastProcAttemptTime
protected

Definition at line 422 of file SpellAuras.h.

◆ m_lastProcSuccessTime

TimePoint Aura::m_lastProcSuccessTime
protected

Definition at line 423 of file SpellAuras.h.

◆ m_loadedScripts

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

Definition at line 360 of file SpellAuras.h.

◆ m_maxDuration

int32 Aura::m_maxDuration
protected

Definition at line 403 of file SpellAuras.h.

◆ m_owner

WorldObject* const Aura::m_owner
protected

Definition at line 401 of file SpellAuras.h.

◆ m_periodicCosts

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

Definition at line 406 of file SpellAuras.h.

◆ m_procCharges

uint8 Aura::m_procCharges
protected

Definition at line 410 of file SpellAuras.h.

◆ m_procCooldown

TimePoint Aura::m_procCooldown
protected

Definition at line 421 of file SpellAuras.h.

◆ m_scriptRef

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

Definition at line 431 of file SpellAuras.h.

◆ m_spellInfo

SpellInfo const* const Aura::m_spellInfo
protected

Definition at line 392 of file SpellAuras.h.

◆ m_spellVisual

SpellCastVisual Aura::m_spellVisual
protected

Definition at line 399 of file SpellAuras.h.

◆ m_stackAmount

uint8 Aura::m_stackAmount
protected

Definition at line 411 of file SpellAuras.h.

◆ m_timeCla

int32 Aura::m_timeCla
protected

Definition at line 405 of file SpellAuras.h.

◆ m_updateTargetMapInterval

int32 Aura::m_updateTargetMapInterval
protected

Definition at line 407 of file SpellAuras.h.


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