mirror of
https://github.com/SabreTools/SabreTools.Models.git
synced 2026-02-16 13:55:29 +00:00
29 lines
782 B
C#
29 lines
782 B
C#
using System.Runtime.InteropServices;
|
|
|
|
namespace SabreTools.Models.GCF
|
|
{
|
|
/// <see href="https://github.com/RavuAlHemio/hllib/blob/master/HLLib/GCFFile.h"/>
|
|
[StructLayout(LayoutKind.Sequential)]
|
|
public sealed class FragmentationMapHeader
|
|
{
|
|
/// <summary>
|
|
/// Number of data blocks.
|
|
/// </summary>
|
|
public uint BlockCount;
|
|
|
|
/// <summary>
|
|
/// The index of the first unused fragmentation map entry.
|
|
/// </summary>
|
|
public uint FirstUnusedEntry;
|
|
|
|
/// <summary>
|
|
/// The block entry terminator; 0 = 0x0000ffff or 1 = 0xffffffff.
|
|
/// </summary>
|
|
public uint Terminator;
|
|
|
|
/// <summary>
|
|
/// Header checksum.
|
|
/// </summary>
|
|
public uint Checksum;
|
|
}
|
|
} |