mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-09-22 23:05:12 +00:00
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.
This commit is contained in:
45
SabreTools.Data.Models/XboxExecutable/Executable.cs
Normal file
45
SabreTools.Data.Models/XboxExecutable/Executable.cs
Normal file
@@ -0,0 +1,45 @@
|
||||
namespace SabreTools.Data.Models.XboxExecutable
|
||||
{
|
||||
/// <summary>
|
||||
/// XBox Executable format
|
||||
/// </summary>
|
||||
/// <see href="https://www.caustik.com/cxbx/download/xbe.htm"/>
|
||||
/// <see href="https://github.com/Cxbx-Reloaded/Cxbx-Reloaded/blob/master/src/common/xbe/Xbe.h"/>
|
||||
public class Executable
|
||||
{
|
||||
/// <summary>
|
||||
/// XBE header
|
||||
/// </summary>
|
||||
public Header? Header { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Certificate structure pointed to by <see cref="Header.CertificateAddress"/>
|
||||
/// </summary>
|
||||
public Certificate? Certificate { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Section headers pointed to by <see cref="Header.SectionHeadersAddress"/>
|
||||
/// </summary>
|
||||
public SectionHeader[] SectionHeaders { get; set; } = [];
|
||||
|
||||
/// <summary>
|
||||
/// Thread Local Storage (TLS) structure pointed to by <see cref="Header.TLSAddress"/>
|
||||
/// </summary>
|
||||
public ThreadLocalStorage? ThreadLocalStorage { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Library versions pointed to by <see cref="Header.LibraryVersionsAddress"/>
|
||||
/// </summary>
|
||||
public LibraryVersion[] LibraryVersions { get; set; } = [];
|
||||
|
||||
/// <summary>
|
||||
/// Kernel library version pointed to by <see cref="Header.KernelLibraryVersionAddress"/>
|
||||
/// </summary>
|
||||
public LibraryVersion? KernelLibraryVersion { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// XAPI library version pointed to by <see cref="Header.XAPILibraryVersionAddress"/>
|
||||
/// </summary>
|
||||
public LibraryVersion? XAPILibraryVersion { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user