mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Fix Control serialization
This commit is contained in:
@@ -104,7 +104,7 @@ namespace SabreTools.Library.DatItems
|
|||||||
/// Default analog reverse setting
|
/// Default analog reverse setting
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[JsonProperty("reverse", DefaultValueHandling = DefaultValueHandling.Ignore)]
|
[JsonProperty("reverse", DefaultValueHandling = DefaultValueHandling.Ignore)]
|
||||||
[XmlElement("type")]
|
[XmlElement("reverse")]
|
||||||
public bool? Reverse { get; set; }
|
public bool? Reverse { get; set; }
|
||||||
|
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
@@ -114,20 +114,21 @@ namespace SabreTools.Library.DatItems
|
|||||||
/// First set of ways
|
/// First set of ways
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[JsonProperty("ways", DefaultValueHandling = DefaultValueHandling.Ignore)]
|
[JsonProperty("ways", DefaultValueHandling = DefaultValueHandling.Ignore)]
|
||||||
|
[XmlElement("ways")]
|
||||||
public string Ways { get; set; }
|
public string Ways { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Second set of ways
|
/// Second set of ways
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[JsonProperty("ways2", DefaultValueHandling = DefaultValueHandling.Ignore)]
|
[JsonProperty("ways2", DefaultValueHandling = DefaultValueHandling.Ignore)]
|
||||||
[XmlElement("type")]
|
[XmlElement("ways2")]
|
||||||
public string Ways2 { get; set; }
|
public string Ways2 { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Third set of ways
|
/// Third set of ways
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[JsonProperty("ways3", DefaultValueHandling = DefaultValueHandling.Ignore)]
|
[JsonProperty("ways3", DefaultValueHandling = DefaultValueHandling.Ignore)]
|
||||||
[XmlElement("type")]
|
[XmlElement("ways3")]
|
||||||
public string Ways3 { get; set; }
|
public string Ways3 { get; set; }
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|||||||
Reference in New Issue
Block a user