Files
SabreTools.Models/XZP/Header.cs

29 lines
702 B
C#
Raw Permalink Normal View History

2023-09-04 00:12:49 -04:00
namespace SabreTools.Models.XZP
2023-09-04 00:11:04 -04:00
{
/// <see href="https://github.com/RavuAlHemio/hllib/blob/master/HLLib/XZPFile.h"/>
public sealed class Header
{
2023-09-04 21:14:41 -04:00
#if NET48
2023-09-10 21:24:10 -04:00
public string Signature { get; set; }
2023-09-04 21:14:41 -04:00
#else
2023-09-10 21:24:10 -04:00
public string? Signature { get; set; }
2023-09-04 21:14:41 -04:00
#endif
2023-09-04 00:11:04 -04:00
2023-09-10 21:24:10 -04:00
public uint Version { get; set; }
2023-09-04 00:11:04 -04:00
2023-09-10 21:24:10 -04:00
public uint PreloadDirectoryEntryCount { get; set; }
2023-09-04 00:11:04 -04:00
2023-09-10 21:24:10 -04:00
public uint DirectoryEntryCount { get; set; }
2023-09-04 00:11:04 -04:00
2023-09-10 21:24:10 -04:00
public uint PreloadBytes { get; set; }
2023-09-04 00:11:04 -04:00
2023-09-10 21:24:10 -04:00
public uint HeaderLength { get; set; }
2023-09-04 00:11:04 -04:00
2023-09-10 21:24:10 -04:00
public uint DirectoryItemCount { get; set; }
2023-09-04 00:11:04 -04:00
2023-09-10 21:24:10 -04:00
public uint DirectoryItemOffset { get; set; }
2023-09-04 00:11:04 -04:00
2023-09-10 21:24:10 -04:00
public uint DirectoryItemLength { get; set; }
2023-09-04 00:11:04 -04:00
}
}