namespace WeaLib;
///
/// Parsed `.wea` material table. The game loads this separately from MSH/CTL data.
///
/// Source file name or path supplied by the caller.
/// Material id-to-name rows before the optional LIGHTMAPS section.
/// Optional lightmap id-to-name rows after the LIGHTMAPS marker.
public sealed record WeaFile(
string FileName,
IReadOnlyList Materials,
IReadOnlyList Lightmaps);
/// Material row from a `.wea` file: `{id} {material_name}`.
public readonly record struct WeaMaterialRef(int Id, string Name);
/// Lightmap row from the optional `.wea` LIGHTMAPS section.
public readonly record struct WeaLightmapRef(int Id, string Name);