mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-06 06:11:45 +00:00
This change looks dramatic, but it's just separating out the already-split namespaces into separate top-level folders. In theory, every single one could be built into their own Nuget package. `SabreTools.Serialization` still builds the normal Nuget package that is used by all other projects and includes all namespaces.
45 lines
1.3 KiB
C#
45 lines
1.3 KiB
C#
using System.Runtime.InteropServices;
|
|
|
|
namespace SabreTools.Data.Models.GCF
|
|
{
|
|
/// <see href="https://github.com/RavuAlHemio/hllib/blob/master/HLLib/GCFFile.h"/>
|
|
[StructLayout(LayoutKind.Sequential)]
|
|
public sealed class BlockEntry
|
|
{
|
|
/// <summary>
|
|
/// Flags for the block entry. 0x200F0000 == Not used.
|
|
/// </summary>
|
|
public uint EntryFlags;
|
|
|
|
/// <summary>
|
|
/// The offset for the data contained in this block entry in the file.
|
|
/// </summary>
|
|
public uint FileDataOffset;
|
|
|
|
/// <summary>
|
|
/// The length of the data in this block entry.
|
|
/// </summary>
|
|
public uint FileDataSize;
|
|
|
|
/// <summary>
|
|
/// The offset to the first data block of this block entry's data.
|
|
/// </summary>
|
|
public uint FirstDataBlockIndex;
|
|
|
|
/// <summary>
|
|
/// The next block entry in the series. (N/A if == BlockCount.)
|
|
/// </summary>
|
|
public uint NextBlockEntryIndex;
|
|
|
|
/// <summary>
|
|
/// The previous block entry in the series. (N/A if == BlockCount.)
|
|
/// </summary>
|
|
public uint PreviousBlockEntryIndex;
|
|
|
|
/// <summary>
|
|
/// The offset of the block entry in the directory.
|
|
/// </summary>
|
|
public uint DirectoryIndex;
|
|
}
|
|
}
|