|
wowlib 0.0.0
Read & write World of Warcraft client files — a C++26 core
|
The 48-byte WDB2 header (wowdev.wiki/DB2). More...
#include <wowlib/db/wdb2.hpp>
Public Attributes | |
| std::uint32_t | magic = Wdb2Magic |
| "WDB2". | |
| std::uint32_t | recordCount = 0 |
| Records in the record block. | |
| std::uint32_t | fieldCount = 0 |
| Expanded on-disk field slots per record. | |
| std::uint32_t | recordSize = 0 |
| Record stride in bytes. | |
| std::uint32_t | stringBlockSize = 0 |
| String block bytes after the records. | |
| std::uint32_t | tableHash = 0 |
| SStrHash of the uppercased table name. | |
| std::uint32_t | build = 0 |
| Client build the file was generated for. | |
| std::uint32_t | timestampLastWritten = 0 |
| Unix timestamp, often 0. | |
| std::uint32_t | minId = 0 |
| Lowest record id; 0 when no index block. | |
| std::uint32_t | maxId = 0 |
| Highest record id; non-zero engages the index block. | |
| std::uint32_t | locale = 0 |
| Locale mask of the generating client. | |
| std::uint32_t | copyTableSize = 0 |
| Trailing copy-table bytes (id pairs). | |
| std::uint32_t wowlib::db::Wdb2Header::build = 0 |
Client build the file was generated for.
Definition at line 37 of file wdb2.hpp.
Referenced by wowlib::db::writeWdb2().
| std::uint32_t wowlib::db::Wdb2Header::copyTableSize = 0 |
Trailing copy-table bytes (id pairs).
Definition at line 42 of file wdb2.hpp.
Referenced by wowlib::db::readWdb2(), and wowlib::db::writeWdb2().
| std::uint32_t wowlib::db::Wdb2Header::fieldCount = 0 |
Expanded on-disk field slots per record.
Definition at line 33 of file wdb2.hpp.
Referenced by wowlib::db::readWdb2(), and wowlib::db::writeWdb2().
| std::uint32_t wowlib::db::Wdb2Header::locale = 0 |
| std::uint32_t wowlib::db::Wdb2Header::magic = Wdb2Magic |
"WDB2".
Definition at line 31 of file wdb2.hpp.
Referenced by wowlib::db::readWdb2(), and wowlib::db::writeWdb2().
| std::uint32_t wowlib::db::Wdb2Header::maxId = 0 |
Highest record id; non-zero engages the index block.
Definition at line 40 of file wdb2.hpp.
Referenced by wowlib::db::readWdb2().
| std::uint32_t wowlib::db::Wdb2Header::minId = 0 |
Lowest record id; 0 when no index block.
Definition at line 39 of file wdb2.hpp.
Referenced by wowlib::db::readWdb2().
| std::uint32_t wowlib::db::Wdb2Header::recordCount = 0 |
Records in the record block.
Definition at line 32 of file wdb2.hpp.
Referenced by wowlib::db::readWdb2(), and wowlib::db::writeWdb2().
| std::uint32_t wowlib::db::Wdb2Header::recordSize = 0 |
Record stride in bytes.
Definition at line 34 of file wdb2.hpp.
Referenced by wowlib::db::readWdb2(), and wowlib::db::writeWdb2().
| std::uint32_t wowlib::db::Wdb2Header::stringBlockSize = 0 |
String block bytes after the records.
Definition at line 35 of file wdb2.hpp.
Referenced by wowlib::db::readWdb2(), and wowlib::db::writeWdb2().
| std::uint32_t wowlib::db::Wdb2Header::tableHash = 0 |
| std::uint32_t wowlib::db::Wdb2Header::timestampLastWritten = 0 |