2023-09-04 00:12:49 -04:00
|
|
|
namespace SabreTools.Models.GCF
|
2023-09-04 00:11:04 -04:00
|
|
|
{
|
|
|
|
|
/// <remarks>
|
|
|
|
|
/// Part of version 5 but not version 6.
|
|
|
|
|
/// </remarks>
|
|
|
|
|
/// <see href="https://github.com/RavuAlHemio/hllib/blob/master/HLLib/GCFFile.h"/>
|
|
|
|
|
public sealed class BlockEntryMapHeader
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Number of data blocks.
|
|
|
|
|
/// </summary>
|
2023-09-10 21:24:10 -04:00
|
|
|
public uint BlockCount { get; set; }
|
2023-09-04 00:11:04 -04:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Index of the first block entry.
|
|
|
|
|
/// </summary>
|
2023-09-10 21:24:10 -04:00
|
|
|
public uint FirstBlockEntryIndex { get; set; }
|
2023-09-04 00:11:04 -04:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Index of the last block entry.
|
|
|
|
|
/// </summary>
|
2023-09-10 21:24:10 -04:00
|
|
|
public uint LastBlockEntryIndex { get; set; }
|
2023-09-04 00:11:04 -04:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Reserved
|
|
|
|
|
/// </summary>
|
2023-09-10 21:24:10 -04:00
|
|
|
public uint Dummy0 { get; set; }
|
2023-09-04 00:11:04 -04:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Header checksum.
|
|
|
|
|
/// </summary>
|
2023-09-10 21:24:10 -04:00
|
|
|
public uint Checksum { get; set; }
|
2023-09-04 00:11:04 -04:00
|
|
|
}
|
|
|
|
|
}
|