mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-05 22:01:33 +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.
46 lines
1.6 KiB
C#
46 lines
1.6 KiB
C#
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; }
|
|
}
|
|
}
|