mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
So many fields and TODOs...
This commit is contained in:
@@ -126,54 +126,6 @@ namespace SabreTools.Library.DatFiles
|
||||
[JsonIgnore]
|
||||
public DatFormat DatFormat { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Dictionary of fields in machine and items to exclude from writing
|
||||
/// </summary>
|
||||
[JsonIgnore]
|
||||
public List<Field> ExcludeFields { get; set; } = new List<Field>();
|
||||
|
||||
/// <summary>
|
||||
/// Enable "One Rom, One Region (1G1R)" mode
|
||||
/// </summary>
|
||||
[JsonIgnore]
|
||||
public bool OneGamePerRegion { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Ordered list of regions for "One Rom, One Region (1G1R)" mode
|
||||
/// </summary>
|
||||
[JsonIgnore]
|
||||
public List<string> RegionList { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Ensure each rom is in their own game
|
||||
/// </summary>
|
||||
[JsonIgnore]
|
||||
public bool OneRomPerGame { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Keep machines that don't contain any items
|
||||
/// </summary>
|
||||
[JsonIgnore]
|
||||
public bool KeepEmptyGames { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Remove scene dates from the beginning of machine names
|
||||
/// </summary>
|
||||
[JsonIgnore]
|
||||
public bool SceneDateStrip { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Deduplicate items using the given method
|
||||
/// </summary>
|
||||
[JsonIgnore]
|
||||
public DedupeType DedupeRoms { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Strip hash types from items
|
||||
/// </summary>
|
||||
[JsonIgnore]
|
||||
public Hash StripHash { get; private set; }
|
||||
|
||||
#endregion
|
||||
|
||||
#region ListXML Fields
|
||||
@@ -309,6 +261,59 @@ namespace SabreTools.Library.DatFiles
|
||||
[JsonProperty("rcversion", DefaultValueHandling = DefaultValueHandling.Ignore)]
|
||||
public string RomCenterVersion { get; set; }
|
||||
|
||||
#endregion
|
||||
|
||||
#region Filtering Fields
|
||||
|
||||
/// <summary>
|
||||
/// Dictionary of fields in machine and items to exclude from writing
|
||||
/// </summary>
|
||||
[JsonIgnore]
|
||||
public List<Field> ExcludeFields { get; set; } = new List<Field>();
|
||||
|
||||
/// <summary>
|
||||
/// Enable "One Rom, One Region (1G1R)" mode
|
||||
/// </summary>
|
||||
[JsonIgnore]
|
||||
public bool OneGamePerRegion { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Ordered list of regions for "One Rom, One Region (1G1R)" mode
|
||||
/// </summary>
|
||||
[JsonIgnore]
|
||||
public List<string> RegionList { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Ensure each rom is in their own game
|
||||
/// </summary>
|
||||
[JsonIgnore]
|
||||
public bool OneRomPerGame { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Keep machines that don't contain any items
|
||||
/// </summary>
|
||||
[JsonIgnore]
|
||||
public bool KeepEmptyGames { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Remove scene dates from the beginning of machine names
|
||||
/// </summary>
|
||||
[JsonIgnore]
|
||||
public bool SceneDateStrip { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Deduplicate items using the given method
|
||||
/// </summary>
|
||||
[JsonIgnore]
|
||||
public DedupeType DedupeRoms { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Strip hash types from items
|
||||
/// </summary>
|
||||
[JsonIgnore]
|
||||
public Hash StripHash { get; private set; }
|
||||
|
||||
|
||||
#endregion
|
||||
|
||||
#region Write pre-processing
|
||||
|
||||
Reference in New Issue
Block a user