namespace SabreTools.Models.GCF { /// public sealed class DirectoryEntry { /// /// Offset to the directory item name from the end of the directory items. /// public uint NameOffset { get; set; } /// /// Directory item name from the end of the directory items. /// public string? Name { get; set; } /// /// Size of the item. (If file, file size. If folder, num items.) /// public uint ItemSize { get; set; } /// /// Checksome index. (0xFFFFFFFF == None). /// public uint ChecksumIndex { get; set; } /// /// Flags for the directory item. (0x00000000 == Folder). /// public HL_GCF_FLAG DirectoryFlags { get; set; } /// /// Index of the parent directory item. (0xFFFFFFFF == None). /// public uint ParentIndex { get; set; } /// /// Index of the next directory item. (0x00000000 == None). /// public uint NextIndex { get; set; } /// /// Index of the first directory item. (0x00000000 == None). /// public uint FirstIndex { get; set; } } }