Files
Matt Nadareski 7689c6dd07 Libraries
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.
2026-03-21 16:26:56 -04:00

51 lines
1.4 KiB
C#

namespace SabreTools.Data.Models.Quantum
{
/// <summary>
/// Quantum archive file descriptor
/// </summary>
/// <see href="https://handwiki.org/wiki/Software:Quantum_compression"/>
public class FileDescriptor
{
/// <summary>
/// Length of file name
/// </summary>
public int FileNameSize { get; set; }
/// <summary>
/// File name, variable length string, not zero-terminated
/// </summary>
public string FileName { get; set; } = string.Empty;
/// <summary>
/// Length of comment field
/// </summary>
public int CommentFieldSize { get; set; }
/// <summary>
/// Comment field, variable length string, not zero-terminated
/// </summary>
public string CommentField { get; set; } = string.Empty;
/// <summary>
/// Fully expanded file size in bytes
/// </summary>
public uint ExpandedFileSize { get; set; }
/// <summary>
/// File time (DOS format)
/// </summary>
public ushort FileTime { get; set; }
/// <summary>
/// File date (DOS format)
/// </summary>
public ushort FileDate { get; set; }
/// <summary>
/// Unknown data, Checksum?
/// </summary>
/// <remarks>Minor version 22</remarks>
public ushort? Unknown { get; set; }
}
}