wowlib 0.0.0
Read & write World of Warcraft client files — a C++26 core
Loading...
Searching...
No Matches
wowlib::formats::wdt::root::chunks::WDTHeaderBase Struct Reference

The version-agnostic base of every SMMapHeader<V>, welded as "WDTHeader". More...

#include <wowlib/formats/wdt/root/chunks/header.hpp>

Inheritance diagram for wowlib::formats::wdt::root::chunks::WDTHeaderBase:

Detailed Description

The version-agnostic base of every SMMapHeader<V>, welded as "WDTHeader".

This base exists ENTIRELY for the language bindings (Python, Lua): it gives the per-version header classes a common welded supertype so binding users can write version-agnostic code (isinstance, WDTHeader.for_version(expansion)). It has no role in the C++ API, where you use the concrete SMMapHeader<V> directly. It is an empty (elided) base, so the binary specializations stay trivially copyable and 32 bytes.

Definition at line 53 of file header.hpp.


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