Files
SabreTools.Serialization/SabreTools.Data.Models/XboxExecutable/LibraryVersion.cs
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

36 lines
1.1 KiB
C#

namespace SabreTools.Data.Models.XboxExecutable
{
/// <summary>
/// XBox Executable library version
/// </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 LibraryVersion
{
/// <summary>
/// 8-byte name of this library. (i.e. "XAPILIB")
/// </summary>
public byte[] LibraryName { get; set; } = new byte[8];
/// <summary>
/// Major version for this library (2-byte WORD).
/// </summary>
public ushort MajorVersion { get; set; }
/// <summary>
/// Minor version for this library (2-byte WORD).
/// </summary>
public ushort MinorVersion { get; set; }
/// <summary>
/// Build version for this library (2-byte WORD).
/// </summary>
public ushort BuildVersion { get; set; }
/// <summary>
/// Various flags for this library.
/// </summary>
public LibraryFlags LibraryFlags { get; set; }
}
}