mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-02-10 21:30:24 +00:00
46 lines
1.3 KiB
C#
46 lines
1.3 KiB
C#
namespace BinaryObjectScanner.Models.GCF
|
|
{
|
|
/// <see href="https://github.com/RavuAlHemio/hllib/blob/master/HLLib/GCFFile.h"/>
|
|
public sealed class DirectoryEntry
|
|
{
|
|
/// <summary>
|
|
/// Offset to the directory item name from the end of the directory items.
|
|
/// </summary>
|
|
public uint NameOffset;
|
|
|
|
/// <summary>
|
|
/// Directory item name from the end of the directory items.
|
|
/// </summary>
|
|
public string Name;
|
|
|
|
/// <summary>
|
|
/// Size of the item. (If file, file size. If folder, num items.)
|
|
/// </summary>
|
|
public uint ItemSize;
|
|
|
|
/// <summary>
|
|
/// Checksome index. (0xFFFFFFFF == None).
|
|
/// </summary>
|
|
public uint ChecksumIndex;
|
|
|
|
/// <summary>
|
|
/// Flags for the directory item. (0x00000000 == Folder).
|
|
/// </summary>
|
|
public HL_GCF_FLAG DirectoryFlags;
|
|
|
|
/// <summary>
|
|
/// Index of the parent directory item. (0xFFFFFFFF == None).
|
|
/// </summary>
|
|
public uint ParentIndex;
|
|
|
|
/// <summary>
|
|
/// Index of the next directory item. (0x00000000 == None).
|
|
/// </summary>
|
|
public uint NextIndex;
|
|
|
|
/// <summary>
|
|
/// Index of the first directory item. (0x00000000 == None).
|
|
/// </summary>
|
|
public uint FirstIndex;
|
|
}
|
|
} |