2025-09-26 13:06:18 -04:00
|
|
|
namespace SabreTools.Data.Models.SGA
|
2025-09-26 10:57:15 -04:00
|
|
|
{
|
|
|
|
|
/// <see href="https://github.com/RavuAlHemio/hllib/blob/master/HLLib/SGAFile.h"/>
|
|
|
|
|
public abstract class DirectoryHeader
|
|
|
|
|
{
|
|
|
|
|
// All logic lives in the typed version
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <see href="https://github.com/RavuAlHemio/hllib/blob/master/HLLib/SGAFile.h"/>
|
2025-11-11 09:57:38 -05:00
|
|
|
public abstract class DirectoryHeader<TNumeric> where TNumeric : notnull
|
2025-09-26 10:57:15 -04:00
|
|
|
{
|
|
|
|
|
public uint SectionOffset { get; set; }
|
|
|
|
|
|
2025-11-11 09:57:38 -05:00
|
|
|
public TNumeric? SectionCount { get; set; }
|
2025-09-26 10:57:15 -04:00
|
|
|
|
|
|
|
|
public uint FolderOffset { get; set; }
|
|
|
|
|
|
2025-11-11 09:57:38 -05:00
|
|
|
public TNumeric? FolderCount { get; set; }
|
2025-09-26 10:57:15 -04:00
|
|
|
|
|
|
|
|
public uint FileOffset { get; set; }
|
|
|
|
|
|
2025-11-11 09:57:38 -05:00
|
|
|
public TNumeric? FileCount { get; set; }
|
2025-09-26 10:57:15 -04:00
|
|
|
|
|
|
|
|
public uint StringTableOffset { get; set; }
|
|
|
|
|
|
2025-11-11 09:57:38 -05:00
|
|
|
public TNumeric? StringTableCount { get; set; }
|
2025-09-26 10:57:15 -04:00
|
|
|
}
|
|
|
|
|
}
|