Files
SabreTools.Models/GCF/ChecksumMapHeader.cs

29 lines
684 B
C#
Raw Permalink Normal View History

2024-04-23 13:30:43 -04:00
using System.Runtime.InteropServices;
2023-09-04 00:12:49 -04:00
namespace SabreTools.Models.GCF
2023-09-04 00:11:04 -04:00
{
/// <see href="https://github.com/RavuAlHemio/hllib/blob/master/HLLib/GCFFile.h"/>
2024-04-23 13:30:43 -04:00
[StructLayout(LayoutKind.Sequential)]
2023-09-04 00:11:04 -04:00
public sealed class ChecksumMapHeader
{
/// <summary>
/// Always 0x14893721
/// </summary>
2024-04-23 13:30:43 -04:00
public uint Dummy0;
2023-09-04 00:11:04 -04:00
/// <summary>
/// Always 0x00000001
/// </summary>
2024-04-23 13:30:43 -04:00
public uint Dummy1;
2023-09-04 00:11:04 -04:00
/// <summary>
/// Number of items.
/// </summary>
2024-04-23 13:30:43 -04:00
public uint ItemCount;
2023-09-04 00:11:04 -04:00
/// <summary>
/// Number of checksums.
/// </summary>
2024-04-23 13:30:43 -04:00
public uint ChecksumCount;
2023-09-04 00:11:04 -04:00
}
}