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

@@ -14,16 +14,6 @@ namespace SabreTools.DatItems.Formats
{
#region Fields
/// <summary>
/// Name of the item
/// </summary>
[JsonProperty("name"), XmlElement("name")]
public string? Name
{
get => _internal.ReadString(Models.Metadata.Configuration.NameKey);
set => _internal[Models.Metadata.Configuration.NameKey] = value;
}
/// <summary>
/// Tag associated with the configuration
/// </summary>
@@ -105,7 +95,7 @@ namespace SabreTools.DatItems.Formats
_internal = new Models.Metadata.Configuration();
Machine = new Machine();
Name = string.Empty;
SetName(string.Empty);
ItemType = ItemType.Configuration;
}