mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Add constructors for internal models
This commit is contained in:
@@ -37,6 +37,17 @@ namespace SabreTools.DatItems.Formats
|
||||
ItemType = ItemType.SoftwareList;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Create a SoftwareList object from the internal model
|
||||
/// </summary>
|
||||
public SoftwareList(Models.Metadata.SoftwareList? item)
|
||||
{
|
||||
_internal = item ?? [];
|
||||
Machine = new Machine();
|
||||
|
||||
ItemType = ItemType.SoftwareList;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Cloning Methods
|
||||
|
||||
Reference in New Issue
Block a user