Example #1
0
 def __init__(self, nationID, block, dossier, value=None):
     self._vehTypeCompDescrs = self._parseVehiclesDescrsList(
         NationSpecificAchievement.makeFullName(self._MEDAL_NAME, nationID),
         nationID, dossier)
     NationSpecificAchievement.__init__(self, self._MEDAL_NAME, nationID,
                                        block, dossier, value)
     HasVehiclesList.__init__(self)
Example #2
0
 def __init__(self, nationID, block, dossier, value=None):
     self.__vehTypeCompDescrs = self._parseVehiclesDescrsList(
         NationSpecificAchievement.makeFullName('mechanicEngineer',
                                                nationID), nationID,
         dossier)
     NationSpecificAchievement.__init__(self, 'mechanicEngineer', nationID,
                                        block, dossier, value)
     HasVehiclesList.__init__(self)
 def __init__(self, nationID, block, dossier, value=None):
     self.__vehTypeCompDescrs = self._parseVehiclesDescrsList(
         NationSpecificAchievement.makeFullName('tankExpert', nationID),
         dossier)
     NationSpecificAchievement.__init__(self, 'tankExpert', nationID, block,
                                        dossier, value)
     HasVehiclesList.__init__(self)
     self.__achieved = dossier is not None and bool(
         dossier.getRecordValue(*self.getRecordName()))
Example #4
0
 def __init__(self, nationID, block, dossier, value=None):
     inventoryVehicles = self.__getInventoryCollectibleVehicles(nationID)
     self.__hasCollectibleVehicles = bool(inventoryVehicles)
     self._vehTypeCompDescrs = self._parseVehiclesDescrsList(
         NationSpecificAchievement.makeFullName(self._MEDAL_NAME, nationID),
         nationID, dossier, inventoryVehicles)
     NationSpecificAchievement.__init__(self, self._MEDAL_NAME, nationID,
                                        block, dossier, value)
     HasVehiclesList.__init__(self)
 def __init__(self, nationID, block, dossier, value = None):
     self.__vehTypeCompDescrs = self._parseVehiclesDescrsList(NationSpecificAchievement.makeFullName('mechanicEngineer', nationID), nationID, dossier)
     NationSpecificAchievement.__init__(self, 'mechanicEngineer', nationID, block, dossier, value)
     HasVehiclesList.__init__(self)
 def __init__(self, nationID, block, dossier, value = None):
     self.__vehTypeCompDescrs = self._parseVehiclesDescrsList(NationSpecificAchievement.makeFullName('tankExpert', nationID), dossier)
     NationSpecificAchievement.__init__(self, 'tankExpert', nationID, block, dossier, value)
     HasVehiclesList.__init__(self)
     self.__achieved = dossier is not None and bool(dossier.getRecordValue(*self.getRecordName()))
     return