예제 #1
0
 def save(self):
     filters = AccountSettings.getFilterDefault(MISSION_SELECTOR_FILTER)
     filters = {
         key: value
         for key, value in self._filters.iteritems() if key in filters
     }
     caches.getNavInfo().setVehicleSelectorFilters(filters)
예제 #2
0
    def load(self):
        filters = AccountSettings.getFilterDefaults(self._serverSections)
        for section in self._clientSections:
            filters.update(AccountSettings.getFilterDefault(section))

        filters.update(caches.getNavInfo().getVehicleSelectorFilters())
        self._filters = filters
        self.update(filters, save=False)
예제 #3
0
 def chooseList(cls, questsType = None):
     if questsType is None:
         questsType = caches.getNavInfo().selectedPQType
     if questsType == QUESTS_ALIASES.SEASON_VIEW_TAB_RANDOM:
         depList = cls._RANDOM_DEPENDENCIES
     else:
         depList = cls._FALLOUT_DEPENDENCIES
     return depList
예제 #4
0
 def chooseList(cls, questsType = None):
     if questsType is None:
         questsType = caches.getNavInfo().selectedPQType
     if questsType == QUESTS_ALIASES.SEASON_VIEW_TAB_RANDOM:
         depList = cls._makeRandomDependencies()
     else:
         depList = cls._makeFalloutDependencies()
     return depList
 def __init__(self):
     super(_QuestsTileChainsView, self).__init__()
     self._navInfo = caches.getNavInfo()
     self.__proxy = None
     self.__tile = events_helpers.getPotapovQuestsCache().getTiles()[self._navInfo.selectedPQ.tileID]
     self._tasksProgressLinkage = None
     self._tooltipType = None
     self._showVehicleFilter = True
     self._lockedMessageStrKey = None
     return
 def __init__(self):
     super(_QuestsTileChainsView, self).__init__()
     self._navInfo = caches.getNavInfo()
     self.__proxy = None
     self.__tile = events_helpers.getPotapovQuestsCache().getTiles()[
         self._navInfo.selectedPQ.tileID]
     self._tasksProgressLinkage = None
     self._tooltipType = None
     self._showVehicleFilter = True
     self._lockedMessageStrKey = None
     return
예제 #7
0
 def __init__(self, ctx = None):
     super(EventsWindow, self).__init__()
     self._navInfo = caches.getNavInfo()
     self._updateNavInfo(ctx.get('eventType'), ctx.get('eventID'), ctx.get('doResetNavInfo', False))
예제 #8
0
 def __init__(self):
     super(QuestsTab, self).__init__()
     self._navInfo = caches.getNavInfo()
예제 #9
0
 def __init__(self):
     super(QuestsCurrentTab, self).__init__()
     self._navInfo = quest_caches.getNavInfo()
예제 #10
0
 def __init__(self):
     super(QuestsTileChainsView, self).__init__()
     self._navInfo = caches.getNavInfo()
     self.__proxy = None
     self.__tile = g_eventsCache.potapov.getTiles()[self._navInfo.potapov.tileID]
     return
예제 #11
0
 def __init__(self):
     super(QuestsTab, self).__init__()
     self._navInfo = caches.getNavInfo()
예제 #12
0
 def __init__(self):
     super(QuestsSeasonsView, self).__init__()
     self.__proxy = None
     self.__navInfo = caches.getNavInfo()
     return
예제 #13
0
 def __init__(self):
     super(QuestsTileChainsView, self).__init__()
     self._navInfo = caches.getNavInfo()
     self.__proxy = None
     self.__tile = g_eventsCache.potapov.getTiles()[
         self._navInfo.potapov.tileID]
예제 #14
0
 def __init__(self, ctx=None):
     super(EventsWindow, self).__init__()
     self._navInfo = caches.getNavInfo()
     self._updateNavInfo(ctx.get("eventType"), ctx.get("eventID"))
예제 #15
0
 def __init__(self):
     super(QuestsSeasonsView, self).__init__()
     self.__proxy = None
     self.__navInfo = caches.getNavInfo()
     return
예제 #16
0
 def __init__(self, ctx=None):
     super(EventsWindow, self).__init__()
     self._navInfo = caches.getNavInfo()
     self._updateNavInfo(ctx.get('eventType'), ctx.get('eventID'))