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)
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)
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
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
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))
def __init__(self): super(QuestsTab, self).__init__() self._navInfo = caches.getNavInfo()
def __init__(self): super(QuestsCurrentTab, self).__init__() self._navInfo = quest_caches.getNavInfo()
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
def __init__(self): super(QuestsSeasonsView, self).__init__() self.__proxy = None self.__navInfo = caches.getNavInfo() return
def __init__(self): super(QuestsTileChainsView, self).__init__() self._navInfo = caches.getNavInfo() self.__proxy = None self.__tile = g_eventsCache.potapov.getTiles()[ self._navInfo.potapov.tileID]
def __init__(self, ctx=None): super(EventsWindow, self).__init__() self._navInfo = caches.getNavInfo() self._updateNavInfo(ctx.get("eventType"), ctx.get("eventID"))
def __init__(self, ctx=None): super(EventsWindow, self).__init__() self._navInfo = caches.getNavInfo() self._updateNavInfo(ctx.get('eventType'), ctx.get('eventID'))