Add ChipType and EmulationStatus, fix serialization

This commit is contained in:
Matt Nadareski
2020-09-02 14:32:16 -07:00
parent 26bb28afba
commit 455cf802ff
13 changed files with 198 additions and 51 deletions

View File

@@ -37,19 +37,19 @@ namespace SabreTools.Library.DatItems
/// <summary>
/// Conditions associated with the dipswitch
/// </summary>
[JsonProperty("conditions")]
[JsonProperty("conditions", DefaultValueHandling = DefaultValueHandling.Ignore)]
public List<Condition> Conditions { get; set; }
/// <summary>
/// Locations associated with the dipswitch
/// </summary>
[JsonProperty("locations")]
[JsonProperty("locations", DefaultValueHandling = DefaultValueHandling.Ignore)]
public List<Location> Locations { get; set; }
/// <summary>
/// Settings associated with the dipswitch
/// </summary>
[JsonProperty("values")]
[JsonProperty("values", DefaultValueHandling = DefaultValueHandling.Ignore)]
public List<Setting> Values { get; set; }
#endregion