|
WoW Model Viewer
Your premiere tool for viewing, equipping and animating World of Warcraft models.
|
WoW-specific database that lazy-loads DB2 tables from the CASC archive. More...
#include <WoWDatabase.h>
Public Member Functions | |
| WoWDatabase () | |
| ~WoWDatabase () override | |
| const DB2Table * | getTable (const std::string &name) |
| core::TableStructure * | createTableStructure () |
| core::FieldStructure * | createFieldStructure () |
| void | readSpecificTableAttributesFromDBD (const core::DBDVersionDef &, core::TableStructure *) override |
| void | readSpecificFieldAttributesFromDBD (const core::DBDVersionField &, const core::DBDColumnDef &, core::FieldStructure *) override |
| void | setFieldPos (core::FieldStructure *, int pos) override |
| std::string | getLayoutHashForTable (const std::string &tableName) override |
Public Member Functions inherited from core::GameDatabase | |
| GameDatabase () | |
| bool | initFromDBD (const std::string &dbdDir, const std::string &buildVersion) |
| bool | initFromDBD (const std::string &dbdDir, const std::string &buildVersion, const std::vector< std::string > &tableNames) |
| void | setFastMode () |
| void | setCachePath (const std::string &path) |
| void | setDbdBaseUrl (const std::string &url) |
| void | setManifestUrl (const std::string &url) |
| bool | downloadAndParseManifest () |
| int | getFileDataIdForTable (const std::string &tableName) const |
| virtual | ~GameDatabase () |
Private Member Functions | |
| std::unique_ptr< DB2Table > | buildDB2Table (const std::string &tableName) |
Private Attributes | |
| std::unordered_map< std::string, std::unique_ptr< DB2Table > > | m_tables |
Additional Inherited Members | |
Protected Member Functions inherited from core::GameDatabase | |
| core::TableStructure * | buildTableStructure (const std::string &tableName) |
WoW-specific database that lazy-loads DB2 tables from the CASC archive.
Definition at line 37 of file WoWDatabase.h.
| wow::WoWDatabase::WoWDatabase | ( | ) |
Definition at line 13 of file WoWDatabase.cpp.
|
overridedefault |
|
private |
|
virtual |
Implements core::GameDatabase.
Definition at line 103 of file WoWDatabase.cpp.
|
virtual |
Implements core::GameDatabase.
Definition at line 98 of file WoWDatabase.cpp.
|
overridevirtual |
Reimplemented from core::GameDatabase.
Definition at line 146 of file WoWDatabase.cpp.
| const DB2Table * wow::WoWDatabase::getTable | ( | const std::string & | name | ) |
Definition at line 19 of file WoWDatabase.cpp.
|
overridevirtual |
Implements core::GameDatabase.
Definition at line 124 of file WoWDatabase.cpp.
|
overridevirtual |
Implements core::GameDatabase.
Definition at line 108 of file WoWDatabase.cpp.
|
overridevirtual |
Implements core::GameDatabase.
Definition at line 139 of file WoWDatabase.cpp.
|
private |
Definition at line 59 of file WoWDatabase.h.