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

One resolved (table, client version) schema: what SchemaCatalog::lookup hands the engine. More...

#include <wowlib/db/schema_catalog.hpp>

Public Attributes

std::string_view name
 The identifier name ("ItemSparseLegacy").
std::string_view diskName
 The on-disk truth ("Item-sparse").
std::span< const Column > columns
 The era's column list, WoWDBDefs order.

Detailed Description

One resolved (table, client version) schema: what SchemaCatalog::lookup hands the engine.

Views point into the catalog — keep it alive.

Definition at line 42 of file schema_catalog.hpp.

Member Data Documentation

◆ columns

std::span<const Column> wowlib::db::TableSchema::columns

The era's column list, WoWDBDefs order.

Definition at line 45 of file schema_catalog.hpp.

◆ diskName

std::string_view wowlib::db::TableSchema::diskName

The on-disk truth ("Item-sparse").

Definition at line 44 of file schema_catalog.hpp.

◆ name

std::string_view wowlib::db::TableSchema::name

The identifier name ("ItemSparseLegacy").

Definition at line 43 of file schema_catalog.hpp.


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