Add ListXML header fields

This commit is contained in:
Matt Nadareski
2020-08-20 15:13:57 -07:00
parent c3781b3397
commit 90f704b72b
4 changed files with 135 additions and 25 deletions

View File

@@ -13,9 +13,9 @@ namespace SabreTools.Library.DatFiles
/// </summary>
public class DatHeader : ICloneable
{
#region Publicly facing variables
#region Fields
#region Data common to most DAT types
#region Common Fields
/// <summary>
/// External name of the DAT
@@ -178,6 +178,32 @@ namespace SabreTools.Library.DatFiles
#endregion
#region ListXML Fields
/// <summary>
/// Debug build flag
/// </summary>
[JsonProperty("debug")]
public bool? Debug { get; set; } = false;
/// <summary>
/// MAME configuration name
/// </summary>
[JsonProperty("mameconfig")]
public string MameConfig { get; set; }
#endregion
#region Missfile Fields
/// <summary>
/// Output the item name
/// </summary>
[JsonIgnore]
public bool UseRomName { get; set; }
#endregion
#region Write pre-processing
/// <summary>
@@ -224,16 +250,6 @@ namespace SabreTools.Library.DatFiles
#endregion
#region Data specific to the Miss DAT type
/// <summary>
/// Output the item name
/// </summary>
[JsonIgnore]
public bool UseRomName { get; set; }
#endregion
#region Depot Information
/// <summary>