TrinityCore
SpellHistory::PersistenceHelper< Player > Struct Reference

Static Public Member Functions

static void SetIdentifier (PreparedStatementBase *stmt, uint8 index, Unit *owner)
 
static bool ReadCooldown (Field *fields, uint32 *spellId, CooldownEntry *cooldownEntry)
 
static bool ReadCharge (Field *fields, uint32 *categoryId, ChargeEntry *chargeEntry)
 
static void WriteCooldown (PreparedStatementBase *stmt, uint8 &index, CooldownStorageType::value_type const &cooldown)
 
static void WriteCharge (PreparedStatementBase *stmt, uint8 &index, uint32 chargeCategory, ChargeEntry const &charge)
 

Static Public Attributes

static CharacterDatabaseStatements const CooldownsDeleteStatement = CHAR_DEL_CHAR_SPELL_COOLDOWNS
 
static CharacterDatabaseStatements const CooldownsInsertStatement = CHAR_INS_CHAR_SPELL_COOLDOWN
 
static CharacterDatabaseStatements const ChargesDeleteStatement = CHAR_DEL_CHAR_SPELL_CHARGES
 
static CharacterDatabaseStatements const ChargesInsertStatement = CHAR_INS_CHAR_SPELL_CHARGES
 

Detailed Description

Definition at line 38 of file SpellHistory.cpp.

Member Function Documentation

◆ ReadCharge()

static bool SpellHistory::PersistenceHelper< Player >::ReadCharge ( Field fields,
uint32 categoryId,
ChargeEntry chargeEntry 
)
inlinestatic

Definition at line 61 of file SpellHistory.cpp.

+ Here is the call graph for this function:

◆ ReadCooldown()

static bool SpellHistory::PersistenceHelper< Player >::ReadCooldown ( Field fields,
uint32 spellId,
CooldownEntry cooldownEntry 
)
inlinestatic

Definition at line 47 of file SpellHistory.cpp.

+ Here is the call graph for this function:

◆ SetIdentifier()

static void SpellHistory::PersistenceHelper< Player >::SetIdentifier ( PreparedStatementBase stmt,
uint8  index,
Unit owner 
)
inlinestatic

Definition at line 45 of file SpellHistory.cpp.

+ Here is the call graph for this function:

◆ WriteCharge()

static void SpellHistory::PersistenceHelper< Player >::WriteCharge ( PreparedStatementBase stmt,
uint8 index,
uint32  chargeCategory,
ChargeEntry const &  charge 
)
inlinestatic

Definition at line 81 of file SpellHistory.cpp.

+ Here is the call graph for this function:

◆ WriteCooldown()

static void SpellHistory::PersistenceHelper< Player >::WriteCooldown ( PreparedStatementBase stmt,
uint8 index,
CooldownStorageType::value_type const &  cooldown 
)
inlinestatic

Definition at line 72 of file SpellHistory.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ ChargesDeleteStatement

Definition at line 42 of file SpellHistory.cpp.

◆ ChargesInsertStatement

Definition at line 43 of file SpellHistory.cpp.

◆ CooldownsDeleteStatement

Definition at line 40 of file SpellHistory.cpp.

◆ CooldownsInsertStatement

Definition at line 41 of file SpellHistory.cpp.


The documentation for this struct was generated from the following file: