*Mangos [7013] Rename recently added function for consistent with already existed. Use it for old cases. By VladimirMangos.
--HG-- branch : trunk
This commit is contained in:
+4
-2
@@ -1012,7 +1012,10 @@ class TRINITY_DLL_SPEC Unit : public WorldObject
|
||||
|
||||
bool HasAuraType(AuraType auraType) const;
|
||||
bool HasAura(uint32 spellId, uint32 effIndex) const
|
||||
{ return m_Auras.find(spellEffectPair(spellId, effIndex)) != m_Auras.end(); }
|
||||
{
|
||||
return m_Auras.find(spellEffectPair(spellId, effIndex)) != m_Auras.end();
|
||||
}
|
||||
bool HasAura(uint32 spellId) const;
|
||||
|
||||
bool virtual HasSpell(uint32 /*spellID*/) const { return false; }
|
||||
|
||||
@@ -1312,7 +1315,6 @@ class TRINITY_DLL_SPEC Unit : public WorldObject
|
||||
uint8 GetVisibleAurasCount() { return m_visibleAuras.size(); }
|
||||
|
||||
Aura* GetAura(uint32 spellId, uint32 effindex);
|
||||
bool isAuraPresent(uint32 spellId);
|
||||
AuraMap & GetAuras() { return m_Auras; }
|
||||
AuraMap const& GetAuras() const { return m_Auras; }
|
||||
AuraList const& GetAurasByType(AuraType type) const { return m_modAuras[type]; }
|
||||
|
||||
Reference in New Issue
Block a user