def _handleCondition(self, name, data, uniqueName, group): if name == 'premium': return conditions.PremiumVehicle(uniqueName, data) if name == 'hasReceivedMultipliedXP': return conditions.XPMultipliedVehicle(uniqueName, data) if name == 'vehicleDescr': return conditions.VehicleDescr(uniqueName, data)
def _handleCondition(self, name, data, uniqueName, group): if name == 'premium': return conditions.PremiumVehicle(uniqueName, data) if name == 'hasReceivedMultipliedXP': return conditions.XPMultipliedVehicle(uniqueName, data) if name == 'vehicleDescr': return conditions.VehicleDescr(uniqueName, data) if name == 'installedModules': return conditions.InstalledModulesOnVehicle(uniqueName, data) return conditions.CorrespondedCamouflage( uniqueName, data) if name == 'correspondedCamouflage' else None