TrinityCore
DB2HotfixGenerator< T > Class Template Reference

#include <DB2HotfixGenerator.h>

+ Inheritance diagram for DB2HotfixGenerator< T >:

Public Member Functions

 DB2HotfixGenerator (DB2Storage< T > &storage)
 
void ApplyHotfix (uint32 id, void(*fixer)(T *), bool notifyClient=false)
 
uint32 GetAppliedHotfixesCount () const
 
void ApplyHotfix (std::span< uint32 const > ids, void(*fixer)(T *), bool notifyClient)
 

Private Attributes

DB2Storage< T > & _storage
 
uint32 _count
 

Additional Inherited Members

- Static Private Member Functions inherited from DB2HotfixGeneratorBase
static void LogMissingRecord (std::string const &storageName, uint32 recordId)
 
static void AddClientHotfix (uint32 tableHash, uint32 recordId)
 

Detailed Description

template<class T>
class DB2HotfixGenerator< T >

Definition at line 32 of file DB2HotfixGenerator.h.

Constructor & Destructor Documentation

◆ DB2HotfixGenerator()

template<class T >
DB2HotfixGenerator< T >::DB2HotfixGenerator ( DB2Storage< T > &  storage)
inlineexplicit

Definition at line 35 of file DB2HotfixGenerator.h.

Member Function Documentation

◆ ApplyHotfix() [1/2]

template<class T >
void DB2HotfixGenerator< T >::ApplyHotfix ( std::span< uint32 const >  ids,
void(*)(T *)  fixer,
bool  notifyClient 
)
inline

Definition at line 41 of file DB2HotfixGenerator.h.

+ Here is the call graph for this function:

◆ ApplyHotfix() [2/2]

template<class T >
void DB2HotfixGenerator< T >::ApplyHotfix ( uint32  id,
void(*)(T *)  fixer,
bool  notifyClient = false 
)
inline

Definition at line 37 of file DB2HotfixGenerator.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetAppliedHotfixesCount()

template<class T >
uint32 DB2HotfixGenerator< T >::GetAppliedHotfixesCount ( ) const
inline

Definition at line 39 of file DB2HotfixGenerator.h.

Member Data Documentation

◆ _count

template<class T >
uint32 DB2HotfixGenerator< T >::_count
private

Definition at line 62 of file DB2HotfixGenerator.h.

◆ _storage

template<class T >
DB2Storage<T>& DB2HotfixGenerator< T >::_storage
private

Definition at line 61 of file DB2HotfixGenerator.h.


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