Files
SabreTools.Models/VBSP/Header.cs

32 lines
943 B
C#
Raw Permalink Normal View History

2023-09-04 00:12:49 -04:00
namespace SabreTools.Models.VBSP
2023-09-04 00:11:04 -04:00
{
/// <see href="https://github.com/RavuAlHemio/hllib/blob/master/HLLib/VBSPFile.h"/>
public sealed class Header
{
/// <summary>
/// BSP file signature.
/// </summary>
2023-09-10 21:24:10 -04:00
public string? Signature { get; set; }
2023-09-04 00:11:04 -04:00
/// <summary>
/// BSP file version.
/// </summary>
/// <remarks>
/// 19-20: Source
/// 21: Source - The lump version property was moved to the start of the struct.
/// 0x00040014: Dark Messiah - Looks like the 32 bit version has been split into two 16 bit fields.
/// </remarks>
2023-09-10 21:24:10 -04:00
public int Version { get; set; }
2023-09-04 00:11:04 -04:00
/// <summary>
/// Lumps.
/// </summary>
2023-09-10 21:24:10 -04:00
public Lump?[]? Lumps { get; set; }
2023-09-04 00:11:04 -04:00
/// <summary>
/// The map's revision (iteration, version) number.
/// </summary>
2023-09-10 21:24:10 -04:00
public int MapRevision { get; set; }
2023-09-04 00:11:04 -04:00
}
}