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

The 20-byte WDBC header (wowdev.wiki/DBC). More...

#include <wowlib/db/wdbc.hpp>

Public Attributes

std::uint32_t magic = WdbcMagic
 "WDBC".
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.

Detailed Description

The 20-byte WDBC header (wowdev.wiki/DBC).

Definition at line 28 of file wdbc.hpp.

Member Data Documentation

◆ fieldCount

std::uint32_t wowlib::db::WdbcHeader::fieldCount = 0

Expanded on-disk field slots per record.

Definition at line 31 of file wdbc.hpp.

Referenced by wowlib::db::readWdbc(), and wowlib::db::writeWdbc().

◆ magic

std::uint32_t wowlib::db::WdbcHeader::magic = WdbcMagic

"WDBC".

Definition at line 29 of file wdbc.hpp.

Referenced by wowlib::db::readWdbc().

◆ recordCount

std::uint32_t wowlib::db::WdbcHeader::recordCount = 0

Records in the record block.

Definition at line 30 of file wdbc.hpp.

Referenced by wowlib::db::readWdbc(), and wowlib::db::writeWdbc().

◆ recordSize

std::uint32_t wowlib::db::WdbcHeader::recordSize = 0

Record stride in bytes.

Definition at line 32 of file wdbc.hpp.

Referenced by wowlib::db::readWdbc(), and wowlib::db::writeWdbc().

◆ stringBlockSize

std::uint32_t wowlib::db::WdbcHeader::stringBlockSize = 0

String block bytes after the records.

Definition at line 33 of file wdbc.hpp.

Referenced by wowlib::db::readWdbc(), and wowlib::db::writeWdbc().


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