Пример #1
0
        public override void UpdateProperty(AggregateField field)
        {
            switch (field)
            {
            case AggregateField.mining_amount_modifier:
            case AggregateField.effect_mining_amount_modifier:
            {
                _miningAmountModifier.Update();
                return;
            }
            }

            base.UpdateProperty(field);
        }
Пример #2
0
        public override void UpdateProperty(AggregateField field)
        {
            switch (field)
            {
            case AggregateField.mining_probe_accuracy:
            case AggregateField.mining_probe_accuracy_modifier:
            case AggregateField.effect_mining_probe_accuracy_modifier:
            {
                _miningProbeAccuracy.Update();
                break;
            }
            }

            base.UpdateProperty(field);
        }
        protected override void OnUpdateProperty(AggregateField field)
        {
            switch (field)
            {
            case AggregateField.core_usage:
            case AggregateField.effect_core_usage_gathering_modifier:
            {
                coreUsage.Update();
                break;
            }

            case AggregateField.cycle_time:
            case AggregateField.effect_weapon_cycle_time_modifier:
            case AggregateField.effect_gathering_cycle_time_modifier:
            {
                cycleTime.Update();
                break;
            }

            case AggregateField.optimal_range:
            case AggregateField.effect_optimal_range_modifier:
            case AggregateField.effect_ew_optimal_range_modifier:
            case AggregateField.module_missile_range_modifier:
            case AggregateField.effect_missile_range_modifier:
            {
                optimalRange.Update();
                break;
            }

            case AggregateField.falloff:
            {
                _falloff.Update();
                break;
            }
            }

            base.OnUpdateProperty(field);
        }