namespace SabreTools.Data.Models.OperaFS
{
///
/// OperaFS Directory Descriptor
///
///
public class DirectoryDescriptor
{
///
/// Offset of the next block
/// 0xFFFFFFFF implies this is the last block
///
public int NextBlock { get; set; }
///
/// Offset of the previous block
/// 0xFFFFFFFF implies this is the first block
///
public int PreviousBlock { get; set; }
///
/// Should be zeroed
///
public uint Flags { get; set; }
///
/// First free byte
///
public uint FirstFreeByte { get; set; }
///
/// First entry offset
///
public uint FirstEntryOffset { get; set; }
///
/// Directory records in this directory
///
public DirectoryRecord[] DirectoryRecords { get; set; } = [];
}
}