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

The version-agnostic base of every WDTRoot<V> (welded as "WDTRoot"). More...

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

Inheritance diagram for wowlib::formats::wdt::root::WDTRootBase:

Detailed Description

The version-agnostic base of every WDTRoot<V> (welded as "WDTRoot").

This empty base exists ENTIRELY for the language bindings (Python, Lua): it gives the per-version WDTRoot* classes a common welded supertype, so binding users can write version-agnostic code (isinstance(x, WDTRoot), a x: WDTRoot annotation, WDTRoot.for_version(expansion)). It has no role in the C++ API, where you use the concrete WDTRoot<V> directly.

See also
https://wowdev.wiki/WDT

Definition at line 36 of file root.hpp.


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