mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Promote Info
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user