TrinityCore
SpellHistory.h File Reference
#include "DatabaseEnvFwd.h"
#include "Duration.h"
#include "GameTime.h"
#include "Optional.h"
#include "SharedDefines.h"
#include <deque>
#include <unordered_map>
#include <vector>
+ Include dependency graph for SpellHistory.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SpellHistory
 
struct  SpellHistory::CooldownEntry
 
struct  SpellHistory::ChargeEntry
 
struct  SpellHistory::PersistenceHelper< T >
 

Enumerations

enum  SpellCooldownFlags {
  SPELL_COOLDOWN_FLAG_NONE = 0x0 , SPELL_COOLDOWN_FLAG_INCLUDE_GCD = 0x1 , SPELL_COOLDOWN_FLAG_INCLUDE_EVENT_COOLDOWNS = 0x2 , SPELL_COOLDOWN_FLAG_LOSS_OF_CONTROL_UI = 0x4 ,
  SPELL_COOLDOWN_FLAG_ON_HOLD = 0x8
}
 Spell cooldown flags sent in SMSG_SPELL_COOLDOWN. More...
 

Enumeration Type Documentation

◆ SpellCooldownFlags

Spell cooldown flags sent in SMSG_SPELL_COOLDOWN.

Enumerator
SPELL_COOLDOWN_FLAG_NONE 
SPELL_COOLDOWN_FLAG_INCLUDE_GCD 

Starts GCD in addition to normal cooldown specified in the packet.

SPELL_COOLDOWN_FLAG_INCLUDE_EVENT_COOLDOWNS 

Starts GCD for spells that should start their cooldown on events, requires SPELL_COOLDOWN_FLAG_INCLUDE_GCD set.

SPELL_COOLDOWN_FLAG_LOSS_OF_CONTROL_UI 

Shows interrupt cooldown in loss of control ui.

SPELL_COOLDOWN_FLAG_ON_HOLD 

Forces cooldown to behave as if SpellInfo::IsCooldownStartedOnEvent was true.

Definition at line 37 of file SpellHistory.h.