Files
SabreTools/SabreTools.DatItems/Formats/Auxiliary.cs

30 lines
649 B
C#
Raw Normal View History

2020-09-07 14:47:27 -07:00
using System.Xml.Serialization;
2020-08-23 21:10:29 -07:00
using Newtonsoft.Json;
/// <summary>
2020-08-21 15:31:19 -07:00
/// This holds all of the auxiliary types needed for proper parsing
/// </summary>
2021-02-02 10:23:43 -08:00
namespace SabreTools.DatItems.Formats
2020-08-21 15:31:19 -07:00
{
#region DatItem
2020-09-02 23:31:35 -07:00
#region OpenMSX
/// <summary>
/// Represents the OpenMSX original value
/// </summary>
2020-09-08 10:12:41 -07:00
[JsonObject("original"), XmlRoot("original")]
2020-09-02 23:31:35 -07:00
public class Original
{
2022-11-03 12:22:17 -07:00
[JsonProperty("value"), XmlElement("value")]
2020-09-02 23:31:35 -07:00
public bool? Value { get; set; }
2022-11-03 12:22:17 -07:00
[JsonProperty("content"), XmlElement("content")]
2020-09-02 23:31:35 -07:00
public string Content { get; set; }
}
#endregion
2020-08-21 15:31:19 -07:00
#endregion //DatItem
}