using System.Runtime.InteropServices; namespace SabreTools.Models.WAD { /// [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)] public sealed class Header { /// /// "WAD3" /// /// 4 bytes [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 4)] public string? Signature; /// /// Number of lumps in the file /// public uint LumpCount; /// /// Offset where lumps are stored /// public uint LumpOffset; } }