|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include <dbcfile.h>
Classes | |
| class | Exception |
| class | Iterator |
| class | NotFound |
| class | Record |
Public Member Functions | |
| Iterator | begin () |
| Get begin iterator over records. | |
| Iterator | begin () |
| Get begin iterator over records. | |
| DBCFile (HANDLE file) | |
| DBCFile (HANDLE mpq, const char *filename) | |
| Iterator | end () |
| Get begin iterator over records. | |
| Iterator | end () |
| Get begin iterator over records. | |
| size_t | getFieldCount () const |
| size_t | getFieldCount () const |
| size_t | getMaxId () |
| size_t | getMaxId () |
| Record | getRecord (size_t id) |
| Record | getRecord (size_t id) |
| size_t | getRecordCount () const |
| Trivial. | |
| size_t | getRecordCount () const |
| Trivial. | |
| virtual bool | open () |
| bool | open () |
| ~DBCFile () | |
| ~DBCFile () | |
Protected Attributes | |
| unsigned char * | _data |
| size_t | _fieldCount |
| HANDLE | _file |
| size_t | _recordCount |
| size_t | _recordSize |
| size_t | _stringSize |
| unsigned char * | _stringTable |
Private Attributes | |
| const char * | _filename |
| HANDLE | _mpq |
| DBCFile::DBCFile | ( | HANDLE | file | ) |
Definition at line 10 of file dbcfile.cpp.
References _data, _fieldCount, _file, _recordCount, _recordSize, _stringSize, and _stringTable.
Referenced by DBCFile::Iterator::Iterator().
| DBCFile::~DBCFile | ( | ) |
Definition at line 63 of file dbcfile.cpp.
References _data.
| DBCFile::DBCFile | ( | HANDLE | mpq, |
| const char * | filename ) |
Definition at line 10 of file dbcfile.cpp.
References _data, _fieldCount, _file, _filename, _mpq, _recordCount, _recordSize, _stringSize, and _stringTable.
| DBCFile::~DBCFile | ( | ) |
| DBCFile::Iterator DBCFile::begin | ( | ) |
Get begin iterator over records.
Definition at line 86 of file dbcfile.cpp.
References _data.
Referenced by ExtractGameobjectModels().
| Iterator DBCFile::begin | ( | ) |
Get begin iterator over records.
| DBCFile::Iterator DBCFile::end | ( | ) |
Get begin iterator over records.
Definition at line 92 of file dbcfile.cpp.
References _data, and _stringTable.
Referenced by ExtractGameobjectModels().
| Iterator DBCFile::end | ( | ) |
Get begin iterator over records.
|
inline |
Definition at line 122 of file dbcfile.h.
References _fieldCount.
|
inline |
Definition at line 132 of file dbcfile.h.
References _fieldCount.
| size_t DBCFile::getMaxId | ( | ) |
Definition at line 74 of file dbcfile.cpp.
References _data, getRecord(), getRecordCount(), and DBCFile::Record::getUInt().
Referenced by ReadAreaTableDBC(), ReadLiquidTypeTableDBC(), and ReadLiquidTypeTableDBC().
| size_t DBCFile::getMaxId | ( | ) |
| DBCFile::Record DBCFile::getRecord | ( | size_t | id | ) |
Definition at line 68 of file dbcfile.cpp.
References _data, and _recordSize.
Referenced by ExtractCameraFiles(), getMaxId(), main(), ReadAreaTableDBC(), ReadLiquidTypeTableDBC(), ReadLiquidTypeTableDBC(), and ReadMapDBC().
| Record DBCFile::getRecord | ( | size_t | id | ) |
|
inline |
Trivial.
Definition at line 121 of file dbcfile.h.
References _recordCount.
Referenced by ExtractCameraFiles(), getMaxId(), main(), ReadAreaTableDBC(), ReadLiquidTypeTableDBC(), ReadLiquidTypeTableDBC(), and ReadMapDBC().
|
inline |
|
virtual |
Definition at line 16 of file dbcfile.cpp.
References _data, _fieldCount, _file, _recordCount, _recordSize, _stringSize, and _stringTable.
Referenced by ExtractCameraFiles(), ExtractGameobjectModels(), main(), ReadAreaTableDBC(), ReadLiquidTypeTableDBC(), ReadLiquidTypeTableDBC(), and ReadMapDBC().
| bool DBCFile::open | ( | ) |
|
protected |
Definition at line 131 of file dbcfile.h.
Referenced by begin(), DBCFile(), DBCFile(), end(), getMaxId(), getRecord(), open(), and ~DBCFile().
|
protected |
|
protected |
|
private |
|
protected |
|
protected |
|
protected |
|
protected |