Table of Contents

Namespace WoWLib.Formats.WDT.Root.Chunks

Classes

MapFileDataIDs

One MAID per-tile FileDataID record (8.1.0.28294+): every file belonging to one map tile. The table holds 64 x 64 of them in row-major order (y outer, x inner); absent files are 0.

SmAreaInfo

One MAIN tile table entry (SMAreaInfo). The table holds 64 x 64 of them in row-major order (y outer, x inner).

WDTHeader

An MPHD map header, abstract over the client version. Construct a concrete version with WDTHeader.for_version(expansion).

WDTHeader.Era

The typed era factories: one method per expansion, each returning the concrete range class covering it — the compile-time twin of ForVersion.

WDTHeaderBfaPlus

The MPHD map header: the map-wide flags and the satellite-file FileDataIDs (8.1+).

WDTHeaderVanillaToLegion

The MPHD map header: the map-wide flags; the rest of the record is unused before 8.1.

Structs

MapFileDataIDs.Data

A blittable value twin of the NATIVE layout (size 32): read or write whole record buffers through Vector<T>.AsSpan<Data>() / FixedArray<T>.AsSpan<Data>() — one interop crossing for the buffer, where the live-view indexer pays per element. Field offsets are the native ABI's, asserted in the shim.

SmAreaInfo.Data

A blittable value twin of the NATIVE layout (size 8): read or write whole record buffers through Vector<T>.AsSpan<Data>() / FixedArray<T>.AsSpan<Data>() — one interop crossing for the buffer, where the live-view indexer pays per element. Field offsets are the native ABI's, asserted in the shim.

WDTHeaderBfaPlus.Data

A blittable value twin of the NATIVE layout (size 32): read or write whole record buffers through Vector<T>.AsSpan<Data>() / FixedArray<T>.AsSpan<Data>() — one interop crossing for the buffer, where the live-view indexer pays per element. Field offsets are the native ABI's, asserted in the shim.

WDTHeaderVanillaToLegion.Data

A blittable value twin of the NATIVE layout (size 32): read or write whole record buffers through Vector<T>.AsSpan<Data>() / FixedArray<T>.AsSpan<Data>() — one interop crossing for the buffer, where the live-view indexer pays per element. Field offsets are the native ABI's, asserted in the shim.

Enums

AreaInfoFlags

Tile table flag bits (SMAreaInfo.flags).

MapHeaderFlags

Map header flag bits (SMMapHeader.flags).