|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include <SpellAuras.h>
Protected Member Functions | |
| UnitAura (SpellInfo const *spellproto, uint32 effMask, WorldObject *owner, Unit *caster, int32 *baseAmount, Item *castItem, uint64 casterGUID) | |
Private Attributes | |
| DiminishingGroup | m_AuraDRGroup: 8 |
Friends | |
| Aura * | Aura::Create (SpellInfo const *spellproto, uint32 effMask, WorldObject *owner, Unit *caster, int32 *baseAmount, Item *castItem, uint64 casterGUID) |
Additional Inherited Members | |
| Public Types inherited from Aura | |
| typedef std::map< uint64, AuraApplication * > | ApplicationMap |
| Static Public Member Functions inherited from Aura | |
| static uint32 | BuildEffectMaskForOwner (SpellInfo const *spellProto, uint32 avalibleEffectMask, WorldObject *owner) |
| static Aura * | Create (SpellInfo const *spellproto, uint32 effMask, WorldObject *owner, Unit *caster, int32 *baseAmount, Item *castItem, uint64 casterGUID) |
| static Aura * | TryCreate (SpellInfo const *spellproto, uint32 effMask, WorldObject *owner, Unit *caster, int32 *baseAmount=NULL, Item *castItem=NULL, uint64 casterGUID=0) |
| static Aura * | TryRefreshStackOrCreate (SpellInfo const *spellproto, uint32 tryEffMask, WorldObject *owner, Unit *caster, int32 *baseAmount=NULL, Item *castItem=NULL, uint64 casterGUID=0, bool *refresh=NULL) |
| Public Attributes inherited from Aura | |
| std::list< AuraScript * > | m_loadedScripts |
| Protected Attributes inherited from Aura | |
| ApplicationMap | m_applications |
| time_t const | m_applyTime |
| uint64 const | m_casterGuid |
| uint8 const | m_casterLevel |
| uint64 const | m_castItemGuid |
| int32 | m_duration |
| AuraEffect * | m_effects [MAX_SPELL_EFFECTS] |
| bool | m_isRemoved: 1 |
| bool | m_isSingleTarget: 1 |
| bool | m_isUsingCharges: 1 |
| int32 | m_maxDuration |
| WorldObject *const | m_owner |
| uint8 | m_procCharges |
| SpellInfo const *const | m_spellInfo |
| uint8 | m_stackAmount |
| int32 | m_updateTargetMapInterval |
Definition at line 257 of file SpellAuras.h.
|
explicitprotected |
Definition at line 211 of file SpellAuras.cpp.
References Unit::_AddAura(), Aura::_InitEffects(), Aura::Aura(), Aura::GetUnitOwner(), Aura::LoadScripts(), and m_AuraDRGroup.
|
virtual |
Reimplemented from Aura.
Definition at line 219 of file SpellAuras.cpp.
References Aura::_ApplyForTarget(), Unit::ApplyDiminishingAura(), DIMINISHING_NONE, and GetDiminishGroup().
|
virtual |
Reimplemented from Aura.
Definition at line 229 of file SpellAuras.cpp.
References Aura::_UnapplyForTarget(), Unit::ApplyDiminishingAura(), DIMINISHING_NONE, and GetDiminishGroup().
Implements Aura.
Definition at line 246 of file SpellAuras.cpp.
References SpellEffectInfo::CalcRadius(), SpellInfo::Effects, Aura::GetSpellInfo(), Aura::GetUnitOwner(), Aura::HasEffect(), MAX_SPELL_EFFECTS, SPELL_EFFECT_APPLY_AREA_AURA_ENEMY, SPELL_EFFECT_APPLY_AREA_AURA_FRIEND, SPELL_EFFECT_APPLY_AREA_AURA_OWNER, SPELL_EFFECT_APPLY_AREA_AURA_PARTY, SPELL_EFFECT_APPLY_AREA_AURA_PET, SPELL_EFFECT_APPLY_AREA_AURA_RAID, SPELL_EFFECT_APPLY_AURA, UNIT_STATE_ISOLATED, and WorldObject::VisitNearbyObject().
|
inline |
Definition at line 272 of file SpellAuras.h.
References m_AuraDRGroup.
Referenced by _ApplyForTarget(), and _UnapplyForTarget().
|
virtual |
Implements Aura.
Definition at line 239 of file SpellAuras.cpp.
References Aura::GetUnitOwner(), Aura::IsRemoved(), and Unit::RemoveOwnedAura().
|
inline |
Definition at line 271 of file SpellAuras.h.
References m_AuraDRGroup.
|
friend |
References Aura::Aura(), and AURA_REMOVE_BY_DEFAULT.
|
private |
Definition at line 275 of file SpellAuras.h.
Referenced by GetDiminishGroup(), SetDiminishGroup(), and UnitAura().