Add accessor for internal model

This commit is contained in:
Matt Nadareski
2024-03-11 01:51:17 -04:00
parent 70504a38d6
commit e005b9c22c

View File

@@ -768,6 +768,11 @@ namespace SabreTools.DatItems
SetFieldValue(NameKey, name);
}
/// <summary>
/// Get a clone of the current internal model
/// </summary>
public T GetInternalClone() => (_internal.Clone() as T)!;
#endregion
#region Cloning Methods