Remove nearly all explict fields

This commit is contained in:
Matt Nadareski
2024-03-09 21:34:26 -05:00
parent c755abf4c0
commit 24d4e352a4
79 changed files with 1723 additions and 3554 deletions

View File

@@ -10,36 +10,6 @@ namespace SabreTools.DatItems.Formats
[JsonObject("diplocation"), XmlRoot("diplocation")]
public class DipLocation : DatItem
{
#region Fields
/// <summary>
/// Location ID
/// </summary>
[JsonProperty("number", DefaultValueHandling = DefaultValueHandling.Ignore), XmlElement("number")]
public long? Number
{
get => _internal.ReadLong(Models.Metadata.DipLocation.NameKey);
set => _internal[Models.Metadata.DipLocation.NameKey] = value;
}
[JsonIgnore]
public bool NumberSpecified { get { return Number != null; } }
/// <summary>
/// Determines if location is inverted or not
/// </summary>
[JsonProperty("inverted", DefaultValueHandling = DefaultValueHandling.Ignore), XmlElement("inverted")]
public bool? Inverted
{
get => _internal.ReadBool(Models.Metadata.DipLocation.InvertedKey);
set => _internal[Models.Metadata.DipLocation.InvertedKey] = value;
}
[JsonIgnore]
public bool InvertedSpecified { get { return Inverted != null; } }
#endregion
#region Accessors
/// <inheritdoc/>