Promote Sound

This commit is contained in:
Matt Nadareski
2020-09-02 12:51:21 -07:00
parent 7aa042f76d
commit 07cf2135ff
11 changed files with 251 additions and 105 deletions

View File

@@ -167,6 +167,12 @@ namespace SabreTools.Library.DatFiles
[JsonIgnore]
public long SoftwareListCount { get; private set; } = 0;
/// <summary>
/// Number of Sound items
/// </summary>
[JsonIgnore]
public long SoundCount { get; private set; } = 0;
/// <summary>
/// Number of machines
/// </summary>
@@ -569,6 +575,9 @@ namespace SabreTools.Library.DatFiles
case ItemType.SoftwareList:
SoftwareListCount++;
break;
case ItemType.Sound:
SoundCount++;
break;
}
}
@@ -719,6 +728,9 @@ namespace SabreTools.Library.DatFiles
case ItemType.SoftwareList:
SoftwareListCount--;
break;
case ItemType.Sound:
SoundCount--;
break;
}
}