def request(self, listOfIds):
     LOG_DEBUG('Request action achievements data')
     if not len(listOfIds):
         return
     landId = getClientLanguage()
     for achieveId in listOfIds:
         getRareAchievementText(landId, achieveId, self.__onTextReceived)
         getRareAchievementImage(achieveId, self.__onImageReceived)
Ejemplo n.º 2
0
 def request(self, listOfIds):
     LOG_DEBUG('Request action achievements data')
     if not len(listOfIds):
         return
     landId = getClientLanguage()
     for achieveId in listOfIds:
         getRareAchievementText(landId, achieveId, self.__onTextReceived)
         getRareAchievementImage(achieveId, self.__onImageReceived)
 def request(self, listOfIds):
     LOG_DEBUG('Request action achievements data', listOfIds)
     if not len(listOfIds):
         return
     landId = getClientLanguage()
     for achieveId in listOfIds:
         if self.isLocallyLoaded(achieveId):
             LOG_DEBUG('Action achievements data loaded locally', achieveId)
             continue
         getRareAchievementText(landId, achieveId, self.__onTextReceived)
         getRareAchievementImage(achieveId, partial(self.__onImageReceived, IMAGE_TYPE.IT_67X71))
         getRareAchievementImageBig(achieveId, partial(self.__onImageReceived, IMAGE_TYPE.IT_180X180))
 def request(self, listOfIds):
     LOG_DEBUG('Request action achievements data', listOfIds)
     if not listOfIds:
         return
     landId = getClientLanguage()
     for achieveId in listOfIds:
         if self.isLocallyLoaded(achieveId):
             LOG_DEBUG('Action achievements data loaded locally', achieveId)
             continue
         getRareAchievementText(landId, achieveId, self.__onTextReceived)
         getRareAchievementImage(achieveId, partial(self.__onImageReceived, IMAGE_TYPE.IT_67X71))
         getRareAchievementImageBig(achieveId, partial(self.__onImageReceived, IMAGE_TYPE.IT_180X180))