TrinityCore
Loading...
Searching...
No Matches
SpellHistory::PersistenceHelper< Pet > Struct Reference

Static Public Member Functions

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

Static Public Attributes

static constexpr CharacterDatabaseStatements CooldownsDeleteStatement = CHAR_DEL_PET_SPELL_COOLDOWNS
 
static constexpr CharacterDatabaseStatements CooldownsInsertStatement = CHAR_INS_PET_SPELL_COOLDOWN
 
static constexpr CharacterDatabaseStatements ChargesDeleteStatement = CHAR_DEL_PET_SPELL_CHARGES
 
static constexpr CharacterDatabaseStatements ChargesInsertStatement = CHAR_INS_PET_SPELL_CHARGES
 

Detailed Description

Definition at line 91 of file SpellHistory.cpp.

Member Function Documentation

◆ ReadCharge()

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

Definition at line 114 of file SpellHistory.cpp.

+ Here is the call graph for this function:

◆ ReadCooldown()

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

Definition at line 100 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 98 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 133 of file SpellHistory.cpp.

+ Here is the call graph for this function:

◆ WriteCooldown()

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

Definition at line 125 of file SpellHistory.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ ChargesDeleteStatement

constexpr CharacterDatabaseStatements SpellHistory::PersistenceHelper< Pet >::ChargesDeleteStatement = CHAR_DEL_PET_SPELL_CHARGES
staticconstexpr

Definition at line 95 of file SpellHistory.cpp.

◆ ChargesInsertStatement

constexpr CharacterDatabaseStatements SpellHistory::PersistenceHelper< Pet >::ChargesInsertStatement = CHAR_INS_PET_SPELL_CHARGES
staticconstexpr

Definition at line 96 of file SpellHistory.cpp.

◆ CooldownsDeleteStatement

constexpr CharacterDatabaseStatements SpellHistory::PersistenceHelper< Pet >::CooldownsDeleteStatement = CHAR_DEL_PET_SPELL_COOLDOWNS
staticconstexpr

Definition at line 93 of file SpellHistory.cpp.

◆ CooldownsInsertStatement

constexpr CharacterDatabaseStatements SpellHistory::PersistenceHelper< Pet >::CooldownsInsertStatement = CHAR_INS_PET_SPELL_COOLDOWN
staticconstexpr

Definition at line 94 of file SpellHistory.cpp.


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