TrinityCore
SpellHistory::PersistenceHelper< Pet > 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_PET_SPELL_COOLDOWNS
 
static CharacterDatabaseStatements const CooldownsInsertStatement = CHAR_INS_PET_SPELL_COOLDOWN
 
static CharacterDatabaseStatements const ChargesDeleteStatement = CHAR_DEL_PET_SPELL_CHARGES
 
static CharacterDatabaseStatements const ChargesInsertStatement = CHAR_INS_PET_SPELL_CHARGES
 

Detailed Description

Definition at line 90 of file SpellHistory.cpp.

Member Function Documentation

◆ ReadCharge()

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

Definition at line 113 of file SpellHistory.cpp.

+ Here is the call graph for this function:

◆ ReadCooldown()

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

Definition at line 99 of file SpellHistory.cpp.

+ Here is the call graph for this function:

◆ SetIdentifier()

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

Definition at line 97 of file SpellHistory.cpp.

+ Here is the call graph for this function:

◆ WriteCharge()

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

Definition at line 132 of file SpellHistory.cpp.

+ Here is the call graph for this function:

◆ WriteCooldown()

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

Definition at line 124 of file SpellHistory.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ ChargesDeleteStatement

Definition at line 94 of file SpellHistory.cpp.

◆ ChargesInsertStatement

Definition at line 95 of file SpellHistory.cpp.

◆ CooldownsDeleteStatement

Definition at line 92 of file SpellHistory.cpp.

◆ CooldownsInsertStatement

Definition at line 93 of file SpellHistory.cpp.


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