wowlib 0.0.0
Read & write World of Warcraft client files — a C++26 core
Loading...
Searching...
No Matches
wowlib::db::wdc::Wdc3SectionHeader Struct Reference

The 40-byte per-section header of WDC3/WDC4/WDC5. More...

#include <wowlib/db/wdc/binary.hpp>

Public Attributes

std::uint64_t tactKeyHash = 0
 TACT key lookup; non-zero = encrypted section.
std::uint32_t fileOffset = 0
 Byte offset of the section's records in the file.
std::uint32_t recordCount = 0
 Records in this section.
std::uint32_t stringTableSize = 0
 Section string-block bytes (non-sparse).
std::uint32_t offsetRecordsEnd = 0
 End of the sparse record region (sparse only).
std::uint32_t idListSize = 0
 idList bytes (uint32 each) when flag 0x04.
std::uint32_t relationshipDataSize = 0
 Relationship block bytes.
std::uint32_t offsetMapIdCount = 0
 Offset-map entries (sparse only).
std::uint32_t copyTableCount = 0
 Copy-table entries ({newId, srcId}).

Detailed Description

The 40-byte per-section header of WDC3/WDC4/WDC5.

Definition at line 128 of file binary.hpp.

Member Data Documentation

◆ copyTableCount

std::uint32_t wowlib::db::wdc::Wdc3SectionHeader::copyTableCount = 0

Copy-table entries ({newId, srcId}).

Definition at line 137 of file binary.hpp.

◆ fileOffset

std::uint32_t wowlib::db::wdc::Wdc3SectionHeader::fileOffset = 0

Byte offset of the section's records in the file.

Definition at line 130 of file binary.hpp.

◆ idListSize

std::uint32_t wowlib::db::wdc::Wdc3SectionHeader::idListSize = 0

idList bytes (uint32 each) when flag 0x04.

Definition at line 134 of file binary.hpp.

◆ offsetMapIdCount

std::uint32_t wowlib::db::wdc::Wdc3SectionHeader::offsetMapIdCount = 0

Offset-map entries (sparse only).

Definition at line 136 of file binary.hpp.

◆ offsetRecordsEnd

std::uint32_t wowlib::db::wdc::Wdc3SectionHeader::offsetRecordsEnd = 0

End of the sparse record region (sparse only).

Definition at line 133 of file binary.hpp.

◆ recordCount

std::uint32_t wowlib::db::wdc::Wdc3SectionHeader::recordCount = 0

Records in this section.

Definition at line 131 of file binary.hpp.

◆ relationshipDataSize

std::uint32_t wowlib::db::wdc::Wdc3SectionHeader::relationshipDataSize = 0

Relationship block bytes.

Definition at line 135 of file binary.hpp.

◆ stringTableSize

std::uint32_t wowlib::db::wdc::Wdc3SectionHeader::stringTableSize = 0

Section string-block bytes (non-sparse).

Definition at line 132 of file binary.hpp.

◆ tactKeyHash

std::uint64_t wowlib::db::wdc::Wdc3SectionHeader::tactKeyHash = 0

TACT key lookup; non-zero = encrypted section.

Definition at line 129 of file binary.hpp.


The documentation for this struct was generated from the following file: