def _updateToVersion(self, callback = None): currentVersion = g_settingsCache.getVersion() data = {'gameData': {}, 'gameplayData': {}, 'controlsData': {}, 'aimData': {}, 'markersData': {}, 'keyboardData': {}, 'graphicsData': {}, 'marksOnGun': {}, 'clear': {}} yield migrateToVersion(currentVersion, self._core, data) self._setSettingsSections(**data) callback(self)
def _updateToVersion(self, callback = None): currentVersion = self.settingsCache.getVersion() data = {'gameData': {}, 'gameExtData': {}, 'gameplayData': {}, 'controlsData': {}, 'aimData': {}, 'markersData': {}, 'graphicsData': {}, 'marksOnGun': {}, 'fallout': {}, 'carousel_filter': {}, 'feedbackData': {}, 'clear': {}} yield migrateToVersion(currentVersion, self._core, data) self._setSettingsSections(data) callback(self)
def _updateToVersion(self, callback=None): currentVersion = g_settingsCache.getVersion() data = { 'gameData': {}, 'gameExtData': {}, 'gameplayData': {}, 'controlsData': {}, 'aimData': {}, 'markersData': {}, 'keyboardData': {}, 'graphicsData': {}, 'marksOnGun': {}, 'clear': {} } yield migrateToVersion(currentVersion, self._core, data) self._setSettingsSections(**data) callback(self)
def _updateToVersion(self, callback=None): currentVersion = self.settingsCache.getVersion() data = { 'gameData': {}, 'gameExtData': {}, 'gameplayData': {}, 'controlsData': {}, 'aimData': {}, 'markersData': {}, 'graphicsData': {}, 'marksOnGun': {}, 'fallout': {}, 'carousel_filter': {}, 'feedbackDamageIndicator': {}, 'feedbackDamageLog': {}, 'feedbackBattleEvents': {}, 'onceOnlyHints': {}, 'clear': {}, 'delete': [] } yield migrateToVersion(currentVersion, self._core, data) self._setSettingsSections(data) callback(self)