|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include <DBCStore.h>
Public Member Functions | |
| void | Clear () |
| DBCStorage (char const *f) | |
| uint32 | GetFieldCount () const |
| char const * | GetFormat () const |
| uint32 | GetNumRows () const |
| bool | Load (char const *fn, SqlDbc *sql) |
| bool | LoadStringsFrom (char const *fn) |
| T const * | LookupEntry (uint32 id) const |
| ~DBCStorage () | |
Private Types | |
| typedef std::list< char * > | StringPoolList |
Private Member Functions | |
| DBCStorage (DBCStorage const &right)=delete | |
| DBCStorage & | operator= (DBCStorage const &right)=delete |
Private Attributes | |
| T * | dataTable |
| uint32 | fieldCount |
| char const * | fmt |
| union { | |
| char ** asChar | |
| T ** asT | |
| } | indexTable |
| uint32 | nCount |
| StringPoolList | stringPoolList |
Definition at line 59 of file DBCStore.h.
|
private |
Definition at line 61 of file DBCStore.h.
|
inlineexplicit |
Definition at line 63 of file DBCStore.h.
References dataTable, fieldCount, fmt, indexTable, and nCount.
Referenced by DBCStorage(), and operator=().
|
inline |
Definition at line 69 of file DBCStore.h.
References Clear().
|
privatedelete |
References DBCStorage().
|
inline |
Definition at line 251 of file DBCStore.h.
References dataTable, indexTable, nCount, and stringPoolList.
Referenced by ~DBCStorage().
|
inline |
|
inline |
|
inline |
Definition at line 76 of file DBCStore.h.
References nCount.
|
inline |
Definition at line 80 of file DBCStore.h.
References DBCFileLoader::AutoProduceData(), DBCFileLoader::AutoProduceStrings(), dataTable, fieldCount, fmt, SqlDbc::formatString, FT_BYTE, FT_FLOAT, FT_IND, FT_INT, FT_SORT, FT_SQL_ABSENT, FT_SQL_PRESENT, FT_STRING, DBCFileLoader::GetCols(), DBCFileLoader::GetNumRows(), Field::GetUInt32(), SqlDbc::indexName, SqlDbc::indexPos, indexTable, DBCFileLoader::Load(), nCount, SF_LOG_ERROR, SqlDbc::sqlIndexPos, SqlDbc::sqlTableName, stringPoolList, and WorldDatabase.
Referenced by LoadDBC().
|
inline |
Definition at line 235 of file DBCStore.h.
References DBCFileLoader::AutoProduceStrings(), dataTable, fmt, indexTable, DBCFileLoader::Load(), and stringPoolList.
Referenced by LoadDBC().
|
inline |
Definition at line 71 of file DBCStore.h.
References indexTable, and nCount.
Referenced by FillItemDamageFields().
|
privatedelete |
References DBCStorage().
| char** DBCStorage< T >::asChar |
Definition at line 278 of file DBCStore.h.
| T** DBCStorage< T >::asT |
Definition at line 277 of file DBCStore.h.
|
private |
Definition at line 282 of file DBCStore.h.
Referenced by Clear(), DBCStorage(), Load(), and LoadStringsFrom().
|
private |
Definition at line 273 of file DBCStore.h.
Referenced by DBCStorage(), GetFieldCount(), and Load().
|
private |
Definition at line 271 of file DBCStore.h.
Referenced by DBCStorage(), GetFormat(), Load(), and LoadStringsFrom().
| union { ... } DBCStorage< T >::indexTable |
Referenced by Clear(), DBCStorage(), Load(), LoadStringsFrom(), and LookupEntry().
|
private |
Definition at line 272 of file DBCStore.h.
Referenced by Clear(), DBCStorage(), GetNumRows(), Load(), and LookupEntry().
|
private |
Definition at line 283 of file DBCStore.h.
Referenced by Clear(), Load(), and LoadStringsFrom().