2025-09-26 10:20:48 -04:00
|
|
|
using System.Xml;
|
|
|
|
|
using System.Xml.Serialization;
|
|
|
|
|
|
2025-09-26 13:06:18 -04:00
|
|
|
namespace SabreTools.Data.Models.Logiqx
|
2025-09-26 10:20:48 -04:00
|
|
|
{
|
|
|
|
|
[XmlRoot("datafile")]
|
|
|
|
|
public class Datafile
|
|
|
|
|
{
|
|
|
|
|
[XmlAttribute("build")]
|
|
|
|
|
public string? Build { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <remarks>(yes|no) "no"</remarks>
|
|
|
|
|
[XmlAttribute("debug")]
|
2026-04-01 21:59:16 -04:00
|
|
|
public bool? Debug { get; set; }
|
2025-09-26 10:20:48 -04:00
|
|
|
|
|
|
|
|
/// <remarks>No-Intro extension</remarks>
|
|
|
|
|
[XmlAttribute(Namespace = "http://www.w3.org/2001/XMLSchema-instance", AttributeName = "schemaLocation")]
|
|
|
|
|
public string? SchemaLocation { get; set; }
|
|
|
|
|
|
|
|
|
|
[XmlElement("header")]
|
|
|
|
|
public Header? Header { get; set; }
|
|
|
|
|
|
|
|
|
|
[XmlElement("game", typeof(Game))]
|
|
|
|
|
[XmlElement("machine", typeof(Machine))]
|
|
|
|
|
public GameBase[]? Game { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <remarks>RomVault extension</remarks>
|
|
|
|
|
[XmlElement("dir")]
|
|
|
|
|
public Dir[]? Dir { get; set; }
|
|
|
|
|
}
|
2026-01-27 12:03:01 -05:00
|
|
|
}
|