mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Chip gets a promotion
This commit is contained in:
@@ -88,6 +88,12 @@ namespace SabreTools.Library.DatFiles
|
||||
[JsonIgnore]
|
||||
public long BiosSetCount { get; private set; } = 0;
|
||||
|
||||
/// <summary>
|
||||
/// Number of Chip items
|
||||
/// </summary>
|
||||
[JsonIgnore]
|
||||
public long ChipCount { get; private set; } = 0;
|
||||
|
||||
/// <summary>
|
||||
/// Number of Disk items
|
||||
/// </summary>
|
||||
@@ -388,6 +394,9 @@ namespace SabreTools.Library.DatFiles
|
||||
case ItemType.BiosSet:
|
||||
BiosSetCount += 1;
|
||||
break;
|
||||
case ItemType.Chip:
|
||||
ChipCount += 1;
|
||||
break;
|
||||
case ItemType.Disk:
|
||||
DiskCount += 1;
|
||||
if (((Disk)item).ItemStatus != ItemStatus.Nodump)
|
||||
@@ -508,6 +517,9 @@ namespace SabreTools.Library.DatFiles
|
||||
case ItemType.BiosSet:
|
||||
BiosSetCount -= 1;
|
||||
break;
|
||||
case ItemType.Chip:
|
||||
ChipCount -= 1;
|
||||
break;
|
||||
case ItemType.Disk:
|
||||
DiskCount -= 1;
|
||||
if (((Disk)item).ItemStatus != ItemStatus.Nodump)
|
||||
|
||||
Reference in New Issue
Block a user