|
wowlib 0.0.0
Read & write World of Warcraft client files — a C++26 core
|
The per-table identity a codec needs beyond the record data: the client version (format selection, diagnostics), the WoWDBDefs table name (diagnostics), and the runtime schema. More...
#include <wowlib/db/codec.hpp>
Public Attributes | |
| ClientVersion | version {} |
| The record's client version. | |
| std::string_view | name |
| The WoWDBDefs table name. | |
| std::span< const Column > | schema |
| The record schema (schemaOf<Record>()). | |
The per-table identity a codec needs beyond the record data: the client version (format selection, diagnostics), the WoWDBDefs table name (diagnostics), and the runtime schema.
Every other derived quantity — record stride, field-slot count, inline column count, the id column's inline index / non-inline flag — the codecs compute from schema.
| std::string_view wowlib::db::TableInfo::name |
The WoWDBDefs table name.
Definition at line 60 of file codec.hpp.
Referenced by wowlib::db::readWdb2(), wowlib::db::readWdbc(), wowlib::db::wdc::readWdc(), wowlib::db::writeWdb2(), and wowlib::db::wdc::writeWdc().
| std::span<const Column> wowlib::db::TableInfo::schema |
The record schema (schemaOf<Record>()).
Definition at line 61 of file codec.hpp.
Referenced by wowlib::db::readWdb2(), wowlib::db::readWdbc(), wowlib::db::wdc::readWdc(), wowlib::db::writeWdb2(), and wowlib::db::writeWdbc().
| ClientVersion wowlib::db::TableInfo::version {} |
The record's client version.
Definition at line 59 of file codec.hpp.
Referenced by wowlib::db::wdc::readWdc(), wowlib::db::writeWdb2(), and wowlib::db::wdc::writeWdc().