wowlib 0.0.0
Read & write World of Warcraft client files — a C++26 core
Loading...
Searching...
No Matches
root.hpp File Reference

The WDT main-file entity (namespace wowlib::formats::wdt::root): the map header, the 64x64 tile table, the per-tile FileDataID table (8.1+) and the global-WMO reference of WMO-only maps. More...

Include dependency graph for root.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  wowlib::formats::wdt::root::WDTRootBase
 The version-agnostic base of every WDTRoot<V> (welded as "WDTRoot"). More...
struct  wowlib::formats::wdt::root::detail::Root81
 8.1+ main-file chunks (the FileDataID era). More...
struct  wowlib::formats::wdt::root::detail::Root90
 9.0+ main-file chunks. More...
struct  wowlib::formats::wdt::root::detail::WDTRoot< V >
 A WDT main file for one client version. More...

Namespaces

namespace  wowlib
namespace  wowlib::formats
namespace  wowlib::formats::wdt
namespace  wowlib::formats::wdt::root
 The WDT main-file entity: WDTRoot and its per-version classes.
namespace  wowlib::formats::wdt::root::detail

Typedefs

template<ClientVersion V>
using wowlib::formats::wdt::root::WDTRoot = root::detail::WDTRoot<canonicalVersion(V, WdtRootPivots, WdtVersions)>
 A WDT main file — the canonicalizing face of detail::WDTRoot: every client version maps to its range's first grid version (WdtRootPivots), so e.g.

Detailed Description

The WDT main-file entity (namespace wowlib::formats::wdt::root): the map header, the 64x64 tile table, the per-tile FileDataID table (8.1+) and the global-WMO reference of WMO-only maps.

Version-gated chunks live in conditionally-inherited trait bases (wdt::root::detail); the binary structs live in wdt::root::chunks.

Definition in file root.hpp.