Files
SabreTools.Models/GCF/BlockEntry.cs
2023-09-10 21:24:10 -04:00

41 lines
1.3 KiB
C#

namespace SabreTools.Models.GCF
{
/// <see href="https://github.com/RavuAlHemio/hllib/blob/master/HLLib/GCFFile.h"/>
public sealed class BlockEntry
{
/// <summary>
/// Flags for the block entry. 0x200F0000 == Not used.
/// </summary>
public uint EntryFlags { get; set; }
/// <summary>
/// The offset for the data contained in this block entry in the file.
/// </summary>
public uint FileDataOffset { get; set; }
/// <summary>
/// The length of the data in this block entry.
/// </summary>
public uint FileDataSize { get; set; }
/// <summary>
/// The offset to the first data block of this block entry's data.
/// </summary>
public uint FirstDataBlockIndex { get; set; }
/// <summary>
/// The next block entry in the series. (N/A if == BlockCount.)
/// </summary>
public uint NextBlockEntryIndex { get; set; }
/// <summary>
/// The previous block entry in the series. (N/A if == BlockCount.)
/// </summary>
public uint PreviousBlockEntryIndex { get; set; }
/// <summary>
/// The offset of the block entry in the directory.
/// </summary>
public uint DirectoryIndex { get; set; }
}
}