Promote Driver

This commit is contained in:
Matt Nadareski
2020-09-02 15:38:10 -07:00
parent 6bf381bec9
commit e05f1df878
12 changed files with 451 additions and 132 deletions

View File

@@ -1,6 +1,7 @@
using System.Collections.Generic;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
/// <summary>
/// This holds all of the auxiliary types needed for proper parsing
@@ -163,26 +164,6 @@ namespace SabreTools.Library.DatItems
public string VBStart { get; set; } // TODO: Int32? Float?
}
/// <summary>
/// Represents one ListXML driver
/// </summary>
/// TODO: Promote to DatItem level
[JsonObject("driver")]
public class Driver
{
[JsonProperty("status")]
public string Status { get; set; } // TODO: (good|imperfect|preliminary)
[JsonProperty("emulation")]
public string Emulation { get; set; } // TODO: (good|imperfect|preliminary)
[JsonProperty("cocktail")]
public string Cocktail { get; set; } // TODO: bool? (good|imperfect|preliminary)?
[JsonProperty("savestate")]
public string SaveState { get; set; } // TODO: (supported|unsupported)
}
/// <summary>
/// Represents one ListXML extension
/// </summary>