|
wowlib 0.0.0
Read & write World of Warcraft client files — a C++26 core
|
The 84-byte WDC1 top header. More...
#include <wowlib/db/wdc/binary.hpp>
Public Attributes | |
| std::uint32_t | magic = Wdc1Magic |
| std::uint32_t | recordCount = 0 |
| std::uint32_t | fieldCount = 0 |
| Stored columns; a non-inline id is not counted. | |
| std::uint32_t | recordSize = 0 |
| Fixed record stride in bytes (non-sparse). | |
| std::uint32_t | stringTableSize = 0 |
| std::uint32_t | tableHash = 0 |
| SStrHash of the uppercased table name. | |
| std::uint32_t | layoutHash = 0 |
| Structure hash; matches a DBD LAYOUT. | |
| std::uint32_t | minId = 0 |
| std::uint32_t | maxId = 0 |
| std::uint32_t | locale = 0 |
| std::uint32_t | copyTableSize = 0 |
| Copy-table bytes ({newId, srcId} pairs). | |
| std::uint16_t | flags = 0 |
| See WdcFlags. | |
| std::uint16_t | idIndex = 0 |
| Column index of the inline id (when not flag 0x04). | |
| std::uint32_t | totalFieldCount = 0 |
| Equal to fieldCount in every observed file. | |
| std::uint32_t | bitpackedDataOffset = 0 |
| First bit-packed field's byte offset in a record. | |
| std::uint32_t | lookupColumnCount = 0 |
| std::uint32_t | offsetMapOffset = 0 |
| Absolute offset of the sparse offset map ({uint32 offset, uint16 size}[maxId - minId + 1]). | |
| std::uint32_t | idListSize = 0 |
| idList bytes (uint32 each) when flag 0x04. | |
| std::uint32_t | fieldStorageInfoSize = 0 |
| Bytes of the field_storage_info table (24 each). | |
| std::uint32_t | commonDataSize = 0 |
| std::uint32_t | palletDataSize = 0 |
| std::uint32_t | relationshipDataSize = 0 |
The 84-byte WDC1 top header.
WDC1 has no sections: every block is located by the header itself, and the trailing block order is records, strings, id list, copy table, field storage info, pallet data, common data, relationship map.
Definition at line 63 of file binary.hpp.
| std::uint32_t wowlib::db::wdc::Wdc1Header::bitpackedDataOffset = 0 |
First bit-packed field's byte offset in a record.
Definition at line 78 of file binary.hpp.
| std::uint32_t wowlib::db::wdc::Wdc1Header::commonDataSize = 0 |
Definition at line 84 of file binary.hpp.
| std::uint32_t wowlib::db::wdc::Wdc1Header::copyTableSize = 0 |
Copy-table bytes ({newId, srcId} pairs).
Definition at line 74 of file binary.hpp.
| std::uint32_t wowlib::db::wdc::Wdc1Header::fieldCount = 0 |
Stored columns; a non-inline id is not counted.
Definition at line 66 of file binary.hpp.
| std::uint32_t wowlib::db::wdc::Wdc1Header::fieldStorageInfoSize = 0 |
Bytes of the field_storage_info table (24 each).
Definition at line 83 of file binary.hpp.
| std::uint16_t wowlib::db::wdc::Wdc1Header::flags = 0 |
See WdcFlags.
Definition at line 75 of file binary.hpp.
| std::uint16_t wowlib::db::wdc::Wdc1Header::idIndex = 0 |
Column index of the inline id (when not flag 0x04).
Definition at line 76 of file binary.hpp.
| std::uint32_t wowlib::db::wdc::Wdc1Header::idListSize = 0 |
idList bytes (uint32 each) when flag 0x04.
Definition at line 82 of file binary.hpp.
| std::uint32_t wowlib::db::wdc::Wdc1Header::layoutHash = 0 |
Structure hash; matches a DBD LAYOUT.
Definition at line 70 of file binary.hpp.
| std::uint32_t wowlib::db::wdc::Wdc1Header::locale = 0 |
Definition at line 73 of file binary.hpp.
| std::uint32_t wowlib::db::wdc::Wdc1Header::lookupColumnCount = 0 |
Definition at line 79 of file binary.hpp.
| std::uint32_t wowlib::db::wdc::Wdc1Header::magic = Wdc1Magic |
Definition at line 64 of file binary.hpp.
| std::uint32_t wowlib::db::wdc::Wdc1Header::maxId = 0 |
Definition at line 72 of file binary.hpp.
| std::uint32_t wowlib::db::wdc::Wdc1Header::minId = 0 |
Definition at line 71 of file binary.hpp.
| std::uint32_t wowlib::db::wdc::Wdc1Header::offsetMapOffset = 0 |
Absolute offset of the sparse offset map ({uint32 offset, uint16 size}[maxId - minId + 1]).
Definition at line 80 of file binary.hpp.
| std::uint32_t wowlib::db::wdc::Wdc1Header::palletDataSize = 0 |
Definition at line 85 of file binary.hpp.
| std::uint32_t wowlib::db::wdc::Wdc1Header::recordCount = 0 |
Definition at line 65 of file binary.hpp.
| std::uint32_t wowlib::db::wdc::Wdc1Header::recordSize = 0 |
Fixed record stride in bytes (non-sparse).
Definition at line 67 of file binary.hpp.
| std::uint32_t wowlib::db::wdc::Wdc1Header::relationshipDataSize = 0 |
Definition at line 86 of file binary.hpp.
| std::uint32_t wowlib::db::wdc::Wdc1Header::stringTableSize = 0 |
Definition at line 68 of file binary.hpp.
| std::uint32_t wowlib::db::wdc::Wdc1Header::tableHash = 0 |
SStrHash of the uppercased table name.
Definition at line 69 of file binary.hpp.
| std::uint32_t wowlib::db::wdc::Wdc1Header::totalFieldCount = 0 |
Equal to fieldCount in every observed file.
Definition at line 77 of file binary.hpp.