Convert remaining items, add NameKey

This commit is contained in:
Matt Nadareski
2024-03-10 20:39:54 -04:00
parent 2c8f2ce495
commit 97542bf966
58 changed files with 463 additions and 1601 deletions

View File

@@ -272,7 +272,7 @@ namespace SabreTools.DatFiles.Formats
containsItems = true;
foreach (var deviceref in devicerefs)
{
var item = new DeviceReference();
var item = new DeviceRef();
item.SetName(deviceref.Name);
item.SetFieldValue<Source?>(DatItem.SourceKey, new Source { Index = indexId, Name = filename });