Table of Contents

Namespace WoWLib.Formats

Classes

ChunkBlob

An unparsed chunk payload, preserved verbatim for round-trip. Backs chunks wowlib keeps opaque — offset-based (MOTA, MDDL) or undocumented (MPVD, MOMX).

FileEntity

The version-agnostic root of every file-level entity: the WMO, M2, Skeleton, ADT, WDT and WDL family bases and the BLP all derive it. Holds the contract every entity shares (validate / ensure_valid), so a heterogeneous collection of loaded files can be processed uniformly; reading and writing stay on the per-format types, whose signatures differ.

StringBlock

A chunk of zero-terminated strings (texture and model filenames, group names), decoded into (offset, value) entries. Other chunks reference entries by their byte offset in the on-disk blob; adding appends, and existing offsets never move.

StringBlock.Entry

One decoded string and the blob byte offset other chunks reference it by.

ValidationIssue

One validate() finding: where it is, how bad it is, and what is wrong.

ValidationReport

Everything one validate() pass found, in member order. Validation is linter-style — it never stops at the first finding, so a broken entity reports every violated contract at once. A report is ok() when it holds no errors; warnings mark states real client files ship.

Enums

ValidationSeverity

How a validation finding affects the file's fitness for the client.