2026-03-13 10:51:31 -04:00
|
|
|
namespace SabreTools.Data.Models.XboxExecutable
|
2026-03-13 10:28:05 -04:00
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// XBox Executable library version
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <see href="https://www.caustik.com/cxbx/download/xbe.htm"/>
|
2026-03-13 12:31:33 -04:00
|
|
|
/// <see href="https://github.com/Cxbx-Reloaded/Cxbx-Reloaded/blob/master/src/common/xbe/Xbe.h"/>
|
2026-03-13 10:51:31 -04:00
|
|
|
public class LibraryVersion
|
2026-03-13 10:28:05 -04:00
|
|
|
{
|
|
|
|
|
/// <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>
|
2026-03-13 10:51:31 -04:00
|
|
|
public LibraryFlags LibraryFlags { get; set; }
|
2026-03-13 10:28:05 -04:00
|
|
|
}
|
|
|
|
|
}
|