mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Add new helper methods to DatItem
This commit is contained in:
@@ -171,10 +171,10 @@ namespace SabreTools.DatItems.Formats
|
||||
#region Accessors
|
||||
|
||||
/// <inheritdoc/>
|
||||
public override string? GetName() => Name;
|
||||
public override string? GetName() => GetFieldValue<string>(Models.Metadata.Disk.NameKey);
|
||||
|
||||
/// <inheritdoc/>
|
||||
public override void SetName(string? name) => Name = name;
|
||||
public override void SetName(string? name) => SetFieldValue(Models.Metadata.Disk.NameKey, name);
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
Reference in New Issue
Block a user