def _getObtainVehicleProcessor(self, vehicle, data): return VehicleRestoreProcessor(vehicle, data.buySlot, data.buyAmmo, data.crewType)
def getRestoreVehicleProcessor(self, crewType): equipmentBlock = self.viewModel.equipmentBlock isWithAmmo = equipmentBlock.ammo.getIsSelected() isWithSlot = equipmentBlock.slot.getIsSelected() return VehicleRestoreProcessor(self.__vehicle, isWithSlot, isWithAmmo, crewType)