TrinityCore
Loading...
Searching...
No Matches
SpellHistory.h File Reference
#include "SharedDefines.h"
#include "DatabaseEnvFwd.h"
#include "GameTime.h"
#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::PersistenceHelper< T >
 

Namespaces

namespace  WorldPackets
 
namespace  WorldPackets::Spells
 

Enumerations

enum  SpellCooldownFlags { SPELL_COOLDOWN_FLAG_NONE = 0x0 , SPELL_COOLDOWN_FLAG_INCLUDE_GCD = 0x1 , SPELL_COOLDOWN_FLAG_INCLUDE_EVENT_COOLDOWNS = 0x2 }
 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.

Definition at line 41 of file SpellHistory.h.