mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-16 19:23:04 +00:00
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.
25 lines
744 B
C#
25 lines
744 B
C#
namespace SabreTools.Data.Models.SGA
|
|
{
|
|
/// <see href="https://github.com/RavuAlHemio/hllib/blob/master/HLLib/SGAFile.h"/>
|
|
public abstract class Section
|
|
{
|
|
public string Alias { get; set; } = string.Empty;
|
|
|
|
public string Name { get; set; } = string.Empty;
|
|
}
|
|
|
|
/// <see href="https://github.com/RavuAlHemio/hllib/blob/master/HLLib/SGAFile.h"/>
|
|
public abstract class Section<TNumeric> : Section where TNumeric : notnull
|
|
{
|
|
public TNumeric? FolderStartIndex { get; set; }
|
|
|
|
public TNumeric? FolderEndIndex { get; set; }
|
|
|
|
public TNumeric? FileStartIndex { get; set; }
|
|
|
|
public TNumeric? FileEndIndex { get; set; }
|
|
|
|
public TNumeric? FolderRootIndex { get; set; }
|
|
}
|
|
}
|