Exemplo n.º 1
0
 def __init__(self):
     self.__progress = QuestsProgressRequester()
     self.__waitForSync = False
     self.__invalidateCbID = None
     self.__cache = defaultdict(dict)
     self.__actionsCache = defaultdict(lambda: defaultdict(dict))
     self.__questsDossierBonuses = defaultdict(set)
     self.__potapov = PQController(self)
     self.__companies = CompanyBattleController(self)
     self.onSyncStarted = Event()
     self.onSyncCompleted = Event()
Exemplo n.º 2
0
 def __init__(self):
     self.__waitForSync = False
     self.__invalidateCbID = None
     self.__cache = defaultdict(dict)
     self.__potapovHidden = {}
     self.__actionsCache = defaultdict(lambda: defaultdict(dict))
     self.__questsDossierBonuses = defaultdict(set)
     self.__random = RandomPQController()
     self.__fallout = FalloutPQController()
     self.__potapovComposer = _PotapovComposer(self.__random,
                                               self.__fallout)
     self.__questsProgress = QuestsProgressRequester()
     self.__companies = CompanyBattleController(self)
     self.__em = EventManager()
     self.onSyncStarted = Event(self.__em)
     self.onSyncCompleted = Event(self.__em)
     self.onSelectedQuestsChanged = Event(self.__em)
     self.onSlotsCountChanged = Event(self.__em)
     self.onProgressUpdated = Event(self.__em)
     self.__lockedQuestIds = {}
     return