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

29 lines
814 B
C#

namespace SabreTools.Data.Models.SGA
{
/// <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"/>
public abstract class DirectoryHeader<TNumeric> where TNumeric : notnull
{
public uint SectionOffset { get; set; }
public TNumeric? SectionCount { get; set; }
public uint FolderOffset { get; set; }
public TNumeric? FolderCount { get; set; }
public uint FileOffset { get; set; }
public TNumeric? FileCount { get; set; }
public uint StringTableOffset { get; set; }
public TNumeric? StringTableCount { get; set; }
}
}