![]() |
TrinityCore
|
#include <SpellAuras.h>
Public Types | |
| typedef std::map< ObjectGuid, AuraApplication * > | ApplicationMap |
Static Public Member Functions | |
| static uint32 | BuildEffectMaskForOwner (SpellInfo const *spellProto, uint32 avalibleEffectMask, WorldObject *owner) |
| static Aura * | TryRefreshStackOrCreate (SpellInfo const *spellproto, uint32 tryEffMask, WorldObject *owner, Unit *caster, int32 *baseAmount=NULL, Item *castItem=NULL, ObjectGuid casterGUID=ObjectGuid::Empty, bool *refresh=NULL, int32 castItemLevel=-1) |
| static Aura * | TryCreate (SpellInfo const *spellproto, uint32 tryEffMask, WorldObject *owner, Unit *caster, int32 *baseAmount, Item *castItem=NULL, ObjectGuid casterGUID=ObjectGuid::Empty, int32 castItemLevel=-1) |
| static Aura * | Create (SpellInfo const *spellproto, uint32 effMask, WorldObject *owner, Unit *caster, int32 *baseAmount, Item *castItem, ObjectGuid casterGUID, int32 castItemLevel) |
Public Attributes | |
| std::list< AuraScript * > | m_loadedScripts |
Private Member Functions | |
| void | _DeleteRemovedApplications () |
Private Attributes | |
| Unit::AuraApplicationList | m_removedApplications |
| AuraEffectVector | _effects |
| SpellEffectInfoVector | _spelEffectInfos |
Friends | |
| Aura * | Unit::_TryStackingOrRefreshingExistingAura (SpellInfo const *newAura, uint32 effMask, Unit *caster, int32 *baseAmount, Item *castItem, ObjectGuid casterGUID, int32 castItemLevel) |
| typedef std::map<ObjectGuid, AuraApplication*> Aura::ApplicationMap |
| Aura::Aura | ( | SpellInfo const * | spellproto, |
| WorldObject * | owner, | ||
| Unit * | caster, | ||
| Item * | castItem, | ||
| ObjectGuid | casterGUID, | ||
| int32 | castItemLevel | ||
| ) |
Here is the call graph for this function:
|
virtual |
Here is the call graph for this function:| void Aura::_ApplyEffectForTargets | ( | uint8 | effIndex | ) |
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Reimplemented in UnitAura.
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:| void Aura::_Remove | ( | AuraRemoveMode | removeMode | ) |
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Reimplemented in UnitAura.
Here is the call graph for this function:
Here is the caller graph for this function:| void Aura::AddProcCooldown | ( | uint32 | msec | ) |
|
inline |
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:| float Aura::CalcProcChance | ( | SpellProcEntry const & | procEntry, |
| ProcEventInfo & | eventInfo | ||
| ) | const |
| void Aura::CallScriptAfterDispel | ( | DispelInfo * | dispelInfo | ) |
Here is the caller graph for this function:| void Aura::CallScriptAfterEffectApplyHandlers | ( | AuraEffect const * | aurEff, |
| AuraApplication const * | aurApp, | ||
| AuraEffectHandleModes | mode | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void Aura::CallScriptAfterEffectProcHandlers | ( | AuraEffect const * | aurEff, |
| AuraApplication const * | aurApp, | ||
| ProcEventInfo & | eventInfo | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void Aura::CallScriptAfterEffectRemoveHandlers | ( | AuraEffect const * | aurEff, |
| AuraApplication const * | aurApp, | ||
| AuraEffectHandleModes | mode | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void Aura::CallScriptAfterProcHandlers | ( | AuraApplication const * | aurApp, |
| ProcEventInfo & | eventInfo | ||
| ) |
Here is the caller graph for this function:
Here is the caller graph for this function:| bool Aura::CallScriptCheckProcHandlers | ( | AuraApplication const * | aurApp, |
| ProcEventInfo & | eventInfo | ||
| ) |
Here is the caller graph for this function:| void Aura::CallScriptDispel | ( | DispelInfo * | dispelInfo | ) |
Here is the caller graph for this function:| void Aura::CallScriptEffectAbsorbHandlers | ( | AuraEffect * | aurEff, |
| AuraApplication const * | aurApp, | ||
| DamageInfo & | dmgInfo, | ||
| uint32 & | absorbAmount, | ||
| bool & | defaultPrevented | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void Aura::CallScriptEffectAfterAbsorbHandlers | ( | AuraEffect * | aurEff, |
| AuraApplication const * | aurApp, | ||
| DamageInfo & | dmgInfo, | ||
| uint32 & | absorbAmount | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void Aura::CallScriptEffectAfterManaShieldHandlers | ( | AuraEffect * | aurEff, |
| AuraApplication const * | aurApp, | ||
| DamageInfo & | dmgInfo, | ||
| uint32 & | absorbAmount | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| bool Aura::CallScriptEffectApplyHandlers | ( | AuraEffect const * | aurEff, |
| AuraApplication const * | aurApp, | ||
| AuraEffectHandleModes | mode | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void Aura::CallScriptEffectCalcAmountHandlers | ( | AuraEffect const * | aurEff, |
| int32 & | amount, | ||
| bool & | canBeRecalculated | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void Aura::CallScriptEffectCalcPeriodicHandlers | ( | AuraEffect const * | aurEff, |
| bool & | isPeriodic, | ||
| int32 & | amplitude | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void Aura::CallScriptEffectCalcSpellModHandlers | ( | AuraEffect const * | aurEff, |
| SpellModifier *& | spellMod | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void Aura::CallScriptEffectManaShieldHandlers | ( | AuraEffect * | aurEff, |
| AuraApplication const * | aurApp, | ||
| DamageInfo & | dmgInfo, | ||
| uint32 & | absorbAmount, | ||
| bool & | defaultPrevented | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| bool Aura::CallScriptEffectPeriodicHandlers | ( | AuraEffect const * | aurEff, |
| AuraApplication const * | aurApp | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| bool Aura::CallScriptEffectProcHandlers | ( | AuraEffect const * | aurEff, |
| AuraApplication const * | aurApp, | ||
| ProcEventInfo & | eventInfo | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| bool Aura::CallScriptEffectRemoveHandlers | ( | AuraEffect const * | aurEff, |
| AuraApplication const * | aurApp, | ||
| AuraEffectHandleModes | mode | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void Aura::CallScriptEffectSplitHandlers | ( | AuraEffect * | aurEff, |
| AuraApplication const * | aurApp, | ||
| DamageInfo & | dmgInfo, | ||
| uint32 & | splitAmount | ||
| ) |
Here is the call graph for this function:| void Aura::CallScriptEffectUpdatePeriodicHandlers | ( | AuraEffect * | aurEff | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| bool Aura::CallScriptPrepareProcHandlers | ( | AuraApplication const * | aurApp, |
| ProcEventInfo & | eventInfo | ||
| ) |
Here is the caller graph for this function:| bool Aura::CallScriptProcHandlers | ( | AuraApplication const * | aurApp, |
| ProcEventInfo & | eventInfo | ||
| ) |
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:| bool Aura::CanBeSaved | ( | ) | const |
| bool Aura::CanBeSentToClient | ( | ) | const |
Here is the call graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:| void Aura::DropChargeDelayed | ( | uint32 | delay, |
| AuraRemoveMode | removeMode = AURA_REMOVE_BY_DEFAULT |
||
| ) |
Here is the call graph for this function:Fills a helper structure containing aura primary key for character_aura, character_aura_effect, pet_aura, pet_aura_effect tables.
| [out] | recalculateMask | Mask of effects that can be recalculated to store in database - not part of aura key. |
Here is the call graph for this function:
Here is the caller graph for this function:| void Aura::GetApplicationList | ( | Unit::AuraApplicationList & | applicationList | ) | const |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:| Unit * Aura::GetCaster | ( | ) | const |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:| AuraEffect * Aura::GetEffect | ( | uint32 | index | ) | const |
Here is the caller graph for this function:| uint32 Aura::GetEffectMask | ( | ) | const |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:| AuraScript * Aura::GetScriptByName | ( | std::string const & | scriptName | ) | const |
| SpellEffectInfo const * Aura::GetSpellEffectInfo | ( | uint32 | index | ) | const |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:| AuraObjectType Aura::GetType | ( | ) | const |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:| void Aura::HandleAllEffects | ( | AuraApplication * | aurApp, |
| uint8 | mode, | ||
| bool | apply | ||
| ) |
Here is the call graph for this function:| void Aura::HandleAuraSpecificMods | ( | AuraApplication const * | aurApp, |
| Unit * | caster, | ||
| bool | apply, | ||
| bool | onReapply | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void Aura::HandleAuraSpecificPeriodics | ( | AuraApplication const * | aurApp, |
| Unit * | caster | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:| bool Aura::IsArea | ( | ) | const |
Here is the call graph for this function:
Here is the caller graph for this function:| bool Aura::IsDeathPersistent | ( | ) | const |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:| bool Aura::IsPassive | ( | ) | const |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:| bool Aura::IsProcOnCooldown | ( | ) | const |
| bool Aura::IsProcTriggeredOnEvent | ( | AuraApplication * | aurApp, |
| ProcEventInfo & | eventInfo | ||
| ) | const |
Here is the call graph for this function:
|
inline |
Here is the caller graph for this function:
Here is the call graph for this function:
|
inline |
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:| void Aura::LoadScripts | ( | ) |
Here is the caller graph for this function:| bool Aura::ModCharges | ( | int32 | num, |
| AuraRemoveMode | removeMode = AURA_REMOVE_BY_DEFAULT |
||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void Aura::ModChargesDelayed | ( | int32 | num, |
| AuraRemoveMode | removeMode = AURA_REMOVE_BY_DEFAULT |
||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| bool Aura::ModStackAmount | ( | int32 | num, |
| AuraRemoveMode | removeMode = AURA_REMOVE_BY_DEFAULT |
||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void Aura::PrepareProcToTrigger | ( | AuraApplication * | aurApp, |
| ProcEventInfo & | eventInfo | ||
| ) |
Here is the call graph for this function:| void Aura::RecalculateAmountOfEffects | ( | ) |
Here is the call graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:| void Aura::RefreshSpellMods | ( | ) |
Here is the caller graph for this function:| void Aura::RefreshTimers | ( | ) |
Here is the call graph for this function:
Here is the caller graph for this function:
|
pure virtual |
| void Aura::SetCharges | ( | uint8 | charges | ) |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:| void Aura::SetLoadedState | ( | int32 | maxDuration, |
| int32 | duration, | ||
| int32 | charges, | ||
| uint8 | stackAmount, | ||
| uint32 | recalculateMask, | ||
| int32 * | amount | ||
| ) |
Here is the call graph for this function:
|
inline |
Here is the caller graph for this function:| void Aura::SetNeedClientUpdateForTargets | ( | ) | const |
Here is the caller graph for this function:| void Aura::SetStackAmount | ( | uint8 | num | ) |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:| void Aura::TriggerProcOnEvent | ( | AuraApplication * | aurApp, |
| ProcEventInfo & | eventInfo | ||
| ) |
Here is the call graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:| void Aura::UnregisterSingleTarget | ( | ) |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:| void Aura::UpdateOwner | ( | uint32 | diff, |
| WorldObject * | owner | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
|
friend |
|
private |
|
private |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
| std::list<AuraScript*> Aura::m_loadedScripts |
|
protected |
|
protected |
|
protected |
|
protected |
|
private |
|
protected |
|
protected |
|
protected |
1.8.8