Promote Info

This commit is contained in:
Matt Nadareski
2020-09-02 23:31:35 -07:00
parent dfa56a240b
commit 995871174d
11 changed files with 338 additions and 161 deletions

View File

@@ -161,6 +161,12 @@ namespace SabreTools.Library.DatFiles
[JsonIgnore]
public long FeatureCount { get; private set; } = 0;
/// <summary>
/// Number of Info items
/// </summary>
[JsonIgnore]
public long InfoCount { get; private set; } = 0;
/// <summary>
/// Number of Input items
/// </summary>
@@ -599,6 +605,9 @@ namespace SabreTools.Library.DatFiles
case ItemType.Feature:
FeatureCount++;
break;
case ItemType.Info:
InfoCount++;
break;
case ItemType.Input:
InputCount++;
break;
@@ -776,6 +785,9 @@ namespace SabreTools.Library.DatFiles
case ItemType.Feature:
FeatureCount--;
break;
case ItemType.Info:
InfoCount--;
break;
case ItemType.Input:
InputCount--;
break;