2025-09-26 13:06:18 -04:00
|
|
|
namespace SabreTools.Data.Models.Quantum
|
2025-09-26 10:57:15 -04:00
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Quantum archive file structure
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <see href="https://handwiki.org/wiki/Software:Quantum_compression"/>
|
|
|
|
|
public class Archive
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Quantum header
|
|
|
|
|
/// </summary>
|
2025-10-31 13:59:28 -04:00
|
|
|
public Header Header { get; set; } = new();
|
2025-09-26 10:57:15 -04:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// This is immediately followed by the list of files
|
|
|
|
|
/// </summary>
|
2025-10-31 13:59:28 -04:00
|
|
|
public FileDescriptor[] FileList { get; set; } = [];
|
2025-09-26 10:57:15 -04:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Immediately following the list of files is the compressed data
|
|
|
|
|
/// </summary>
|
|
|
|
|
public long CompressedDataOffset { get; set; }
|
|
|
|
|
}
|
2025-10-30 23:30:45 -04:00
|
|
|
}
|