AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "CharmInfo.h"
Public Member Functions | |
GlobalCooldownMgr ()=default | |
bool | HasGlobalCooldown (SpellInfo const *spellInfo) const |
void | AddGlobalCooldown (SpellInfo const *spellInfo, uint32 gcd) |
void | CancelGlobalCooldown (SpellInfo const *spellInfo) |
Private Attributes | |
GlobalCooldownList | m_GlobalCooldowns |
|
default |
References GameTime::GetGameTimeMS(), m_GlobalCooldowns, and SpellInfo::StartRecoveryCategory.
Referenced by Player::EquipItem(), and Spell::TriggerGlobalCooldown().
void GlobalCooldownMgr::CancelGlobalCooldown | ( | SpellInfo const * | spellInfo | ) |
References m_GlobalCooldowns, and SpellInfo::StartRecoveryCategory.
Referenced by Spell::CancelGlobalCooldown().
bool GlobalCooldownMgr::HasGlobalCooldown | ( | SpellInfo const * | spellInfo | ) | const |
References GameTime::GetGameTimeMS(), getMSTimeDiff(), m_GlobalCooldowns, and SpellInfo::StartRecoveryCategory.
Referenced by Spell::CheckPetCast(), Spell::HasGlobalCooldown(), and PetAI::UpdateAI().
|
private |
Referenced by AddGlobalCooldown(), CancelGlobalCooldown(), and HasGlobalCooldown().