Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
DB2StorageBase Class Referenceabstract

Interface class for common access. More...

#include <DB2Store.h>

Inheritance diagram for DB2StorageBase:

Public Member Functions

uint32 GetHash () const
virtual bool HasRecord (uint32 id) const =0
virtual void WriteRecord (uint32 id, uint32 locale, ByteBuffer &buffer) const =0
virtual ~DB2StorageBase ()

Protected Attributes

uint32 tableHash

Detailed Description

Interface class for common access.

Definition at line 15 of file DB2Store.h.

Constructor & Destructor Documentation

◆ ~DB2StorageBase()

virtual DB2StorageBase::~DB2StorageBase ( )
inlinevirtual

Definition at line 18 of file DB2Store.h.

Member Function Documentation

◆ GetHash()

uint32 DB2StorageBase::GetHash ( ) const
inline

Definition at line 20 of file DB2Store.h.

References tableHash.

Referenced by LoadDB2().

◆ HasRecord()

virtual bool DB2StorageBase::HasRecord ( uint32 id) const
pure virtual

Implemented in DB2Storage< T >.

Referenced by WorldSession::HandleRequestHotfix().

◆ WriteRecord()

virtual void DB2StorageBase::WriteRecord ( uint32 id,
uint32 locale,
ByteBuffer & buffer ) const
pure virtual

Implemented in DB2Storage< T >.

Referenced by WorldSession::HandleRequestHotfix().

Member Data Documentation

◆ tableHash

uint32 DB2StorageBase::tableHash
protected

Definition at line 27 of file DB2Store.h.

Referenced by GetHash(), and DB2Storage< T >::Load().


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