TrinityCore
SpellHistory.h File Reference
#include "SharedDefines.h"
#include "DatabaseEnvFwd.h"
#include "Duration.h"
#include "GameTime.h"
#include "Optional.h"
#include <deque>
#include <vector>
#include <unordered_map>
+ 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.

38 {
44 };
Shows interrupt cooldown in loss of control ui.
Definition: SpellHistory.h:42
Starts GCD for spells that should start their cooldown on events, requires SPELL_COOLDOWN_FLAG_INCLUD...
Definition: SpellHistory.h:41
Definition: SpellHistory.h:39
Starts GCD in addition to normal cooldown specified in the packet.
Definition: SpellHistory.h:40
Forces cooldown to behave as if SpellInfo::IsCooldownStartedOnEvent was true.
Definition: SpellHistory.h:43