Add history tag support (fixes #34)

This commit is contained in:
Matt Nadareski
2020-12-28 10:22:40 -08:00
parent ebe3a41595
commit 2e674e23ca
8 changed files with 37 additions and 0 deletions

View File

@@ -157,6 +157,13 @@ namespace SabreTools.DatItems
#region ListXML
/// <summary>
/// History.dat entry for the machine
/// </summary>
[JsonProperty("history", DefaultValueHandling = DefaultValueHandling.Ignore)]
[XmlElement("history")]
public string History { get; set; } = null;
/// <summary>
/// Emulator source file related to the machine
/// </summary>
@@ -370,6 +377,7 @@ namespace SabreTools.DatItems
#region ListXML
History = this.History,
SourceFile = this.SourceFile,
Runnable = this.Runnable,