Files
SabreTools.Serialization/SabreTools.Data.Models/Listxml/Driver.cs

59 lines
1.9 KiB
C#
Raw Normal View History

2025-09-26 10:20:48 -04:00
using System.Xml;
using System.Xml.Serialization;
2026-04-02 02:18:08 -04:00
using SabreTools.Data.Models.Metadata;
2025-09-26 10:20:48 -04:00
2025-09-26 13:06:18 -04:00
namespace SabreTools.Data.Models.Listxml
2025-09-26 10:20:48 -04:00
{
[XmlRoot("driver")]
public class Driver
{
/// <remarks>(good|imperfect|preliminary), (good|preliminary|test) in older versions</remarks>
[Required]
2025-09-26 10:20:48 -04:00
[XmlAttribute("status")]
2026-04-02 02:18:08 -04:00
public SupportStatus? Status { get; set; }
2025-09-26 10:20:48 -04:00
/// <remarks>(good|imperfect|preliminary), Only present in older versions</remarks>
[XmlAttribute("color")]
2026-04-02 02:18:08 -04:00
public SupportStatus? Color { get; set; }
2025-09-26 10:20:48 -04:00
/// <remarks>(good|imperfect|preliminary), Only present in older versions</remarks>
[XmlAttribute("sound")]
2026-04-02 02:18:08 -04:00
public SupportStatus? Sound { get; set; }
2025-09-26 10:20:48 -04:00
/// <remarks>Only present in older versions</remarks>
[XmlAttribute("palettesize")]
public string? PaletteSize { get; set; }
/// <remarks>(good|imperfect|preliminary)</remarks>
[Required]
2025-09-26 10:20:48 -04:00
[XmlAttribute("emulation")]
2026-04-02 02:18:08 -04:00
public SupportStatus? Emulation { get; set; }
2025-09-26 10:20:48 -04:00
/// <remarks>(good|imperfect|preliminary)</remarks>
[Required]
2025-09-26 10:20:48 -04:00
[XmlAttribute("cocktail")]
2026-04-02 02:18:08 -04:00
public SupportStatus? Cocktail { get; set; }
2025-09-26 10:20:48 -04:00
/// <remarks>(supported|unsupported)</remarks>
[Required]
2025-09-26 10:20:48 -04:00
[XmlAttribute("savestate")]
2026-04-02 02:18:08 -04:00
public Supported? SaveState { get; set; }
2025-09-26 10:20:48 -04:00
/// <remarks>(yes|no) "no"</remarks>
[XmlAttribute("requiresartwork")]
2026-04-01 21:59:16 -04:00
public bool? RequiresArtwork { get; set; }
2025-09-26 10:20:48 -04:00
/// <remarks>(yes|no) "no"</remarks>
[XmlAttribute("unofficial")]
2026-04-01 21:59:16 -04:00
public bool? Unofficial { get; set; }
2025-09-26 10:20:48 -04:00
/// <remarks>(yes|no) "no"</remarks>
[XmlAttribute("nosoundhardware")]
2026-04-01 21:59:16 -04:00
public bool? NoSoundHardware { get; set; }
2025-09-26 10:20:48 -04:00
/// <remarks>(yes|no) "no"</remarks>
[XmlAttribute("incomplete")]
2026-04-01 21:59:16 -04:00
public bool? Incomplete { get; set; }
2025-09-26 10:20:48 -04:00
}
2026-01-27 12:03:01 -05:00
}