namespace SabreTools.Models.NCF
{
///
public sealed class DirectoryHeader
{
///
/// Always 0x00000004
///
public uint Dummy0 { get; set; }
///
/// Cache ID.
///
public uint CacheID { get; set; }
///
/// NCF file version.
///
public uint LastVersionPlayed { get; set; }
///
/// Number of items in the directory.
///
public uint ItemCount { get; set; }
///
/// Number of files in the directory.
///
public uint FileCount { get; set; }
///
/// Always 0x00008000. Data per checksum?
///
public uint ChecksumDataLength { get; set; }
///
/// Size of lpNCFDirectoryEntries & lpNCFDirectoryNames & lpNCFDirectoryInfo1Entries & lpNCFDirectoryInfo2Entries & lpNCFDirectoryCopyEntries & lpNCFDirectoryLocalEntries in bytes.
///
public uint DirectorySize { get; set; }
///
/// Size of the directory names in bytes.
///
public uint NameSize { get; set; }
///
/// Number of Info1 entires.
///
public uint Info1Count { get; set; }
///
/// Number of files to copy.
///
public uint CopyCount { get; set; }
///
/// Number of files to keep local.
///
public uint LocalCount { get; set; }
///
/// Reserved
///
public uint Dummy1 { get; set; }
///
/// Reserved
///
public uint Dummy2 { get; set; }
///
/// Header checksum.
///
public uint Checksum { get; set; }
}
}