mirror of
https://github.com/sampletext32/ParkanPlayground.git
synced 2026-08-15 02:57:49 +04:00
vibecoded inspector
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
namespace WeaLib;
|
||||
|
||||
/// <summary>
|
||||
/// Parsed `.wea` material table. The game loads this separately from MSH/CTL data.
|
||||
/// </summary>
|
||||
/// <param name="FileName">Source file name or path supplied by the caller.</param>
|
||||
/// <param name="Materials">Material id-to-name rows before the optional LIGHTMAPS section.</param>
|
||||
/// <param name="Lightmaps">Optional lightmap id-to-name rows after the LIGHTMAPS marker.</param>
|
||||
public sealed record WeaFile(
|
||||
string FileName,
|
||||
IReadOnlyList<WeaMaterialRef> Materials,
|
||||
IReadOnlyList<WeaLightmapRef> Lightmaps);
|
||||
|
||||
/// <summary>Material row from a `.wea` file: `{id} {material_name}`.</summary>
|
||||
public readonly record struct WeaMaterialRef(int Id, string Name);
|
||||
|
||||
/// <summary>Lightmap row from the optional `.wea` LIGHTMAPS section.</summary>
|
||||
public readonly record struct WeaLightmapRef(int Id, string Name);
|
||||
Reference in New Issue
Block a user