mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Handle internal implementations better (nw)
This commit is contained in:
@@ -22,7 +22,12 @@ namespace SabreTools.DatItems.Formats
|
||||
#region Constructors
|
||||
|
||||
public Sound() : base() { }
|
||||
public Sound(Models.Metadata.Sound item) : base(item) { }
|
||||
public Sound(Models.Metadata.Sound item) : base(item)
|
||||
{
|
||||
// Process flag values
|
||||
if (GetInt64FieldValue(Models.Metadata.Sound.ChannelsKey) != null)
|
||||
SetFieldValue<string?>(Models.Metadata.Sound.ChannelsKey, GetInt64FieldValue(Models.Metadata.Sound.ChannelsKey).ToString());
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user