mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Start creating Dictionary-based internal models
This commit is contained in:
51
SabreTools.Models/Internal/Driver.cs
Normal file
51
SabreTools.Models/Internal/Driver.cs
Normal file
@@ -0,0 +1,51 @@
|
||||
using System.Xml.Serialization;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace SabreTools.Models.Internal
|
||||
{
|
||||
[JsonObject("driver"), XmlRoot("driver")]
|
||||
public class Driver : DatItem
|
||||
{
|
||||
#region Keys
|
||||
|
||||
/// <remarks>(plain|dirty)</remarks>
|
||||
public const string BlitKey = "blit";
|
||||
|
||||
/// <remarks>(good|imperfect|preliminary)</remarks>
|
||||
public const string CocktailKey = "cocktail";
|
||||
|
||||
/// <remarks>(good|imperfect|preliminary)</remarks>
|
||||
public const string ColorKey = "color";
|
||||
|
||||
/// <remarks>(good|imperfect|preliminary)</remarks>
|
||||
public const string EmulationKey = "emulation";
|
||||
|
||||
/// <remarks>(yes|no) "no"</remarks>
|
||||
public const string IncompleteKey = "incomplete";
|
||||
|
||||
/// <remarks>(yes|no) "no"</remarks>
|
||||
public const string NoSoundHardwareKey = "nosoundhardware";
|
||||
|
||||
/// <remarks>string, possibly long</remarks>
|
||||
public const string PaletteSizeKey = "palettesize";
|
||||
|
||||
/// <remarks>(yes|no) "no"</remarks>
|
||||
public const string RequiresArtworkKey = "requiresartwork";
|
||||
|
||||
/// <remarks>(supported|unsupported)</remarks>
|
||||
public const string SaveStateKey = "savestate";
|
||||
|
||||
/// <remarks>(good|imperfect|preliminary)</remarks>
|
||||
public const string SoundKey = "sound";
|
||||
|
||||
/// <remarks>(good|imperfect|preliminary|test)</remarks>
|
||||
public const string StatusKey = "status";
|
||||
|
||||
/// <remarks>(yes|no) "no"</remarks>
|
||||
public const string UnofficialKey = "unofficial";
|
||||
|
||||
#endregion
|
||||
|
||||
public Driver() => Type = ItemType.Driver;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user