using System.Xml.Serialization;
using Newtonsoft.Json;
namespace SabreTools.Data.Models.Metadata
{
[JsonObject("driver"), XmlRoot("driver")]
public class Driver : DatItem
{
#region Properties
/// (plain|dirty)
public Blit? Blit { get; set; }
/// (good|imperfect|preliminary)
public SupportStatus? Cocktail { get; set; }
/// (good|imperfect|preliminary)
public SupportStatus? Color { get; set; }
/// (good|imperfect|preliminary)
public SupportStatus? Emulation { get; set; }
/// (yes|no) "no"
public bool? Incomplete { get; set; }
/// (yes|no) "no"
public bool? NoSoundHardware { get; set; }
/// (yes|no) "no"
public bool? RequiresArtwork { get; set; }
/// (supported|unsupported)
public Supported? SaveState { get; set; }
/// (good|imperfect|preliminary)
public SupportStatus? Sound { get; set; }
/// (good|imperfect|preliminary|test)
public SupportStatus? Status { get; set; }
/// (yes|no) "no"
public bool? Unofficial { get; set; }
#endregion
#region Keys
/// string, possibly long
public const string PaletteSizeKey = "palettesize";
#endregion
public Driver() => ItemType = ItemType.Driver;
}
}