mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Add setters and getters for Machine
This commit is contained in:
@@ -71,11 +71,9 @@ namespace SabreTools.DatFiles.Formats
|
||||
Header.Description ??= row.Description;
|
||||
|
||||
// Read Machine values
|
||||
var machine = new Machine
|
||||
{
|
||||
Name = row.GameName,
|
||||
Description = row.GameDescription,
|
||||
};
|
||||
var machine = new Machine();
|
||||
machine.SetFieldValue<string?>(Models.Metadata.Machine.DescriptionKey, row.GameDescription);
|
||||
machine.SetFieldValue<string?>(Models.Metadata.Machine.NameKey, row.GameName);
|
||||
|
||||
// Read item values
|
||||
DatItem? item = null;
|
||||
|
||||
Reference in New Issue
Block a user