Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
        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);
        }