def onClientVersionDiffers(self): if BigWorld.wg_isFpsInfoStoreEnabled(): BigWorld.wg_markFpsStoreFileAsFailed(self.__fileName) self.__onClientVersionConfirmDlgClosed(False) return if not self.scriptModalWindowsEnabled: self.__onClientVersionConfirmDlgClosed(True) return g_appLoader.onGUISpaceEntered += self.__onGUISpaceEntered g_appLoader.showLogin()
def onClientVersionDiffers(): if BigWorld.wg_isFpsInfoStoreEnabled(): BigWorld.wg_markFpsStoreFileAsFailed( g_replayCtrl._BattleReplay__fileName) g_replayCtrl._BattleReplay__onClientVersionConfirmDlgClosed(False) return if not (g_replayCtrl.scriptModalWindowsEnabled and not config.get('login/confirmOldReplays')): g_replayCtrl._BattleReplay__onClientVersionConfirmDlgClosed(True) return g_appLoader.onGUISpaceEntered += g_replayCtrl._BattleReplay__onGUISpaceEntered g_appLoader.showLogin()
def __showLoginPage(self): g_appLoader.showLogin() connectionManager.onDisconnected -= self.__showLoginPage