2025-09-26 10:57:15 -04:00
|
|
|
using System.Runtime.InteropServices;
|
|
|
|
|
|
2025-09-26 13:06:18 -04:00
|
|
|
namespace SabreTools.Data.Models.BSP
|
2025-09-26 10:57:15 -04:00
|
|
|
{
|
|
|
|
|
/// <see href="https://github.com/RavuAlHemio/hllib/blob/master/HLLib/VBSPFile.h"/>
|
|
|
|
|
/// <see href="https://developer.valvesoftware.com/wiki/BSP_(Source)"/>
|
|
|
|
|
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)]
|
|
|
|
|
public sealed class VbspLumpEntry : BspLumpEntry
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Lump format version
|
|
|
|
|
/// </summary>
|
|
|
|
|
public uint Version;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Lump ident code
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <remarks>Default to 0, 0, 0, 0</remarks>
|
|
|
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)]
|
2025-10-30 20:44:16 -04:00
|
|
|
public byte[] FourCC = new byte[4];
|
2025-09-26 10:57:15 -04:00
|
|
|
}
|
|
|
|
|
}
|