示例#1
0
        internal override void SetupFeatureLoaded()
        {
            base.SetupFeatureLoaded();

            Validator.HardpointValidator = HardpointValidator;

            var ccValidator = new CCValidationAdapter(this);

            Validator.RegisterMechValidator(ccValidator.ValidateMech, ccValidator.ValidateMechCanBeFielded);
            Validator.RegisterDropValidator(check: ccValidator.ValidateDrop);
        }
示例#2
0
 internal EngineValidation()
 {
     CCValidation = new CCValidationAdapter(this);
 }
 private DynamicSlotFeature()
 {
     CCValidation = new CCValidationAdapter(this);
 }