internal void TierCounted(T countedValue, SubRoot cyclops, Equipment modules, string slot) { int comparison = countedValue.CompareTo(this.HighestValue); if (comparison > 0) { this.HighestValue = countedValue; } OnUpgradeCounted?.Invoke(cyclops, modules, slot); }
internal void TierCounted(T countedValue, Equipment modules, string slot, InventoryItem inventoryItem) { int comparison = countedValue.CompareTo(this.HighestValue); if (comparison > 0) { this.HighestValue = countedValue; } OnUpgradeCounted?.Invoke(); OnUpgradeCountedDetailed?.Invoke(modules, slot, inventoryItem); }