using System.Xml.Serialization; using Newtonsoft.Json; namespace SabreTools.Models.Internal { [JsonObject("driver"), XmlRoot("driver")] public class Driver : DatItem { #region Keys /// (plain|dirty) public const string BlitKey = "blit"; /// (good|imperfect|preliminary) public const string CocktailKey = "cocktail"; /// (good|imperfect|preliminary) public const string ColorKey = "color"; /// (good|imperfect|preliminary) public const string EmulationKey = "emulation"; /// (yes|no) "no" public const string IncompleteKey = "incomplete"; /// (yes|no) "no" public const string NoSoundHardwareKey = "nosoundhardware"; /// string, possibly long public const string PaletteSizeKey = "palettesize"; /// (yes|no) "no" public const string RequiresArtworkKey = "requiresartwork"; /// (supported|unsupported) public const string SaveStateKey = "savestate"; /// (good|imperfect|preliminary) public const string SoundKey = "sound"; /// (good|imperfect|preliminary|test) public const string StatusKey = "status"; /// (yes|no) "no" public const string UnofficialKey = "unofficial"; #endregion public Driver() => Type = ItemType.Driver; } }