def _createSlotsValidator(self, entity): baseValidator = super(FunRandomActionsValidator, self)._createSlotsValidator(entity) return ActionsValidatorComposite( entity, validators=[baseValidator, BalancedSquadSlotsValidator(entity)])
def _createSlotsValidator(self, entity): baseValidator = super(BattleRoyaleSquadActionsValidator, self)._createSlotsValidator(entity) return ActionsValidatorComposite( entity, validators=[baseValidator, BattleRoyalSquadSlotsValidator(entity)])
def _createVehiclesValidator(self, entity): baseValidator = super(SPGForbiddenSquadActionsValidator, self)._createVehiclesValidator(entity) return ActionsValidatorComposite( entity, validators=[ SPGForbiddenSquadVehiclesValidator(entity), baseValidator ])
def _createVehiclesValidator(self, entity): return ActionsValidatorComposite( entity, validators=[ BalancedSquadVehiclesValidator(entity), _MapboxVehicleValidator(entity), SPGForbiddenSquadVehiclesValidator(entity) ])
def _createVehiclesValidator(self, entity): validators = [ _BattleRoyaleVehiclesValidator(entity), _UnitSlotsValidator(entity), _BattleRoyaleValidator(entity) ] if not IS_DEVELOPMENT: validators.append(_UnitSlotsValidator(entity)) return ActionsValidatorComposite(entity, validators=validators)
def _createVehiclesValidator(self, entity): baseValidator = super(BalancedSquadActionsValidator, self)._createVehiclesValidator(entity) return ActionsValidatorComposite( entity, validators=[BalancedSquadVehiclesValidator(entity), baseValidator])
def _createLevelsValidator(self, entity): baseValidator = super(ESportActionsValidator, self)._createLevelsValidator(entity) return ActionsValidatorComposite(entity, validators=[ESportLevelsValidator(entity), baseValidator])
def _createStateValidator(self, entity): baseValidator = super(ClubsActionsValidator, self)._createStateValidator(entity) return ActionsValidatorComposite( entity, [baseValidator, ClubStateValidator(entity)])
def _createStateValidator(self, entity): baseValidator = super(RankedActionsValidator, self)._createStateValidator(entity) return ActionsValidatorComposite( entity, [baseValidator, RankedPrimeTimeValidator(entity)])
def _createStateValidator(self, entity): baseValidator = super(FunRandomActionsValidator, self)._createStateValidator(entity) return ActionsValidatorComposite(entity, [baseValidator, FunRandomPrimeTimeValidator(entity)])
def _createActionsValidator(self): validators = [ BootcampActionsValidator(self), super(BootcampEntity, self)._createActionsValidator() ] return ActionsValidatorComposite(self, validators)
def _createSlotsValidator(self, entity): baseValidator = super(EpicSquadActionsValidator, self)._createSlotsValidator(entity) return ActionsValidatorComposite(entity, validators=[baseValidator, EpicSquadSlotsValidator(entity)])
def _createPlayerValidator(self, entity): baseValidator = super(SortieActionsValidator, self)._createPlayerValidator(entity) return ActionsValidatorComposite( entity, validators=[SortiePlayerValidator(entity), baseValidator])
def _createVehiclesValidator(self, entity): baseValidator = super(EpicActionsValidator, self)._createVehiclesValidator(entity) return ActionsValidatorComposite( entity, [baseValidator, self.__epicVehicleValidator])
def _createVehiclesValidator(self, entity): return ActionsValidatorComposite(entity, validators=[_BattleRoyaleVehiclesValidator(entity), _UnitSlotsValidator(entity), _BattleRoyaleValidator(entity)])
def _createVehiclesValidator(self, entity): baseValidator = super(MapboxActionsValidator, self)._createVehiclesValidator(entity) return ActionsValidatorComposite( entity, [MapboxVehicleValidator(entity), baseValidator])
def _createStateValidator(self, entity): baseValidator = super(MapboxActionsValidator, self)._createStateValidator(entity) return ActionsValidatorComposite( entity, [baseValidator, MapboxStateValidator(entity)])
def _createSlotsValidator(self, entity): baseValidator = super(MapboxSquadActionsValidator, self)._createSlotsValidator(entity) return ActionsValidatorComposite( entity, validators=[baseValidator, _UnitSlotsValidator(entity)])
def _createVehiclesValidator(self, entity): baseValidator = super(FunRandomActionsValidator, self)._createVehiclesValidator(entity) return ActionsValidatorComposite(entity, [FunRandomVehicleValidator(entity), baseValidator])
def _createStateValidator(self, entity): baseValidator = super(BattleRoyaleActionsValidator, self)._createStateValidator(entity) return ActionsValidatorComposite( entity, [baseValidator, BattleRoyaleValidator(entity)])
def _createVehiclesValidator(self, entity): baseValidator = super(RankedActionsValidator, self)._createVehiclesValidator(entity) return ActionsValidatorComposite( entity, [baseValidator, RankedVehicleValidator(entity)])
def _createStateValidator(self, entity): return ActionsValidatorComposite(entity, [_BattleRoyaleTournamentInQueueValidator(entity)])
def _createVehiclesValidator(self, entity): baseValidator = super(SandboxActionsValidator, self)._createVehiclesValidator(entity) return ActionsValidatorComposite(entity, [baseValidator, SandboxVehicleValidator(entity)])
def _createStateValidator(self, entity): baseValidator = super(BootcampActionsValidator, self)._createStateValidator(entity) return ActionsValidatorComposite(entity, [baseValidator, BootcampStateValidator(entity)])