Replace usages of Name field (nw)

This commit is contained in:
Matt Nadareski
2024-03-08 20:42:24 -05:00
parent 71dcc04558
commit 2dbe257023
59 changed files with 268 additions and 564 deletions

View File

@@ -12,16 +12,6 @@ namespace SabreTools.DatItems.Formats
{
#region Fields
/// <summary>
/// Location name
/// </summary>
[JsonProperty("name"), XmlElement("name")]
public string? Name
{
get => _internal.ReadString(Models.Metadata.ConfLocation.NameKey);
set => _internal[Models.Metadata.ConfLocation.NameKey] = value;
}
/// <summary>
/// Location ID
/// </summary>
@@ -70,7 +60,7 @@ namespace SabreTools.DatItems.Formats
_internal = new Models.Metadata.ConfLocation();
Machine = new Machine();
Name = string.Empty;
SetName(string.Empty);
ItemType = ItemType.ConfLocation;
}