Ejemplo n.º 1
0
def onDisconnected():
    if game_control.g_instance.roaming.isInRoaming():
        g_preDefinedHosts.savePeripheryTL(connectionManager.peripheryID)
    g_prbLoader.onDisconnected()
    g_clanCache.onDisconnected()
    game_control.g_instance.onDisconnected()
    g_itemsCache.clear()
    g_lobbyContext.clear()
    Waiting.rollback()
    Waiting.cancelCallback()
Ejemplo n.º 2
0
def onDisconnected():
    if game_control.g_instance.roaming.isInRoaming():
        g_preDefinedHosts.savePeripheryTL(connectionManager.peripheryID)
    g_prbLoader.onDisconnected()
    g_clanCache.onDisconnected()
    game_control.g_instance.onDisconnected()
    g_clubsCtrl.stop(isDisconnected=True)
    g_wgncProvider.clear()
    g_itemsCache.clear()
    g_goodiesCache.clear()
    g_eventsCache.clear()
    g_lobbyContext.clear()
    g_vehicleProgressCache.clear()
    UsersInfoHelper.clear()
    Waiting.rollback()
    Waiting.cancelCallback()
Ejemplo n.º 3
0
def onDisconnected():
    ServicesLocator.statsCollector.noteHangarLoadingState(
        HANGAR_LOADING_STATE.DISCONNECTED)
    guiModsSendEvent('onDisconnected')
    g_appLoader.goToLoginByEvent()
    ServicesLocator.battleResults.clear()
    g_prbLoader.onDisconnected()
    g_clanCache.onDisconnected()
    ServicesLocator.soundCtrl.stop(isDisconnected=True)
    ServicesLocator.gameState.onDisconnected()
    ServicesLocator.clanCtrl.stop()
    g_wgncProvider.clear()
    ServicesLocator.clear()
    UsersInfoHelper.clear()
    Waiting.rollback()
    Waiting.cancelCallback()
Ejemplo n.º 4
0
def onDisconnected():
    serverSettings = g_lobbyContext.getServerSettings()
    if serverSettings is not None and serverSettings.roaming.isInRoaming():
        g_preDefinedHosts.savePeripheryTL(connectionManager.peripheryID)
    g_prbLoader.onDisconnected()
    g_clanCache.onDisconnected()
    game_control.g_instance.onDisconnected()
    g_clubsCtrl.stop(isDisconnected=True)
    g_wgncProvider.clear()
    g_itemsCache.clear()
    g_goodiesCache.clear()
    g_eventsCache.clear()
    g_lobbyContext.clear()
    g_vehicleProgressCache.clear()
    UsersInfoHelper.clear()
    Waiting.rollback()
    Waiting.cancelCallback()
    g_appLoader.goToLoginByEvent()
Ejemplo n.º 5
0
def onDisconnected():
    guiModsSendEvent('onDisconnected')
    g_prbLoader.onDisconnected()
    g_clanCache.onDisconnected()
    g_soundsCtrl.stop(isDisconnected=True)
    game_control.g_instance.onDisconnected()
    g_clubsCtrl.stop(isDisconnected=True)
    g_clanCtrl.stop()
    g_wgncProvider.clear()
    g_itemsCache.clear()
    g_goodiesCache.clear()
    g_eventsCache.clear()
    g_lobbyContext.clear()
    g_vehicleProgressCache.clear()
    UsersInfoHelper.clear()
    Waiting.rollback()
    Waiting.cancelCallback()
    g_appLoader.goToLoginByEvent()
Ejemplo n.º 6
0
def onDisconnected():
    g_statistics.noteHangarLoadingState(HANGAR_LOADING_STATE.DISCONNECTED)
    guiModsSendEvent('onDisconnected')
    g_prbLoader.onDisconnected()
    g_clanCache.onDisconnected()
    ServicesLocator.soundCtrl.stop(isDisconnected=True)
    ServicesLocator.gameState.onDisconnected()
    ServicesLocator.clubsCtrl.stop(isDisconnected=True)
    ServicesLocator.clanCtrl.stop()
    g_wgncProvider.clear()
    g_itemsCache.clear()
    g_goodiesCache.clear()
    ServicesLocator.clear()
    g_lobbyContext.clear()
    g_vehicleProgressCache.clear()
    UsersInfoHelper.clear()
    Waiting.rollback()
    Waiting.cancelCallback()
    g_appLoader.goToLoginByEvent()
Ejemplo n.º 7
0
def onDisconnected():
    g_statistics.noteHangarLoadingState(HANGAR_LOADING_STATE.DISCONNECTED)
    guiModsSendEvent("onDisconnected")
    g_prbLoader.onDisconnected()
    g_clanCache.onDisconnected()
    g_soundsCtrl.stop(isDisconnected=True)
    game_control.g_instance.onDisconnected()
    g_clubsCtrl.stop(isDisconnected=True)
    g_clanCtrl.stop()
    g_wgncProvider.clear()
    g_itemsCache.clear()
    g_goodiesCache.clear()
    g_eventsCache.clear()
    g_lobbyContext.clear()
    g_vehicleProgressCache.clear()
    UsersInfoHelper.clear()
    Waiting.rollback()
    Waiting.cancelCallback()
    g_appLoader.goToLoginByEvent()
def onDisconnected():
    ServicesLocator.statsCollector.noteHangarLoadingState(HANGAR_LOADING_STATE.DISCONNECTED)
    guiModsSendEvent('onDisconnected')
    ServicesLocator.gameplay.goToLoginByEvent()
    ServicesLocator.battleResults.clear()
    g_prbLoader.onDisconnected()
    g_clanCache.onDisconnected()
    ServicesLocator.soundCtrl.stop(isDisconnected=True)
    ServicesLocator.gameState.onDisconnected()
    ServicesLocator.webCtrl.stop()
    ServicesLocator.eventsCache.personalMissions.stop()
    g_wgncProvider.clear()
    ServicesLocator.clear()
    UsersInfoHelper.clear()
    Waiting.rollback()
    Waiting.cancelCallback()
    if ServicesLocator.lobbyContext.getServerSettings().isElenEnabled():
        ServicesLocator.eventsController.cleanEventsData()
    BigWorld.purgeUrlRequestCache()
Ejemplo n.º 9
0
def onDisconnected():
    g_statistics.noteHangarLoadingState(HANGAR_LOADING_STATE.DISCONNECTED)
    g_loginManager.writePeripheryLifetime()
    guiModsSendEvent('onDisconnected')
    g_prbLoader.onDisconnected()
    g_clanCache.onDisconnected()
    g_soundsCtrl.stop(isDisconnected=True)
    game_control.g_instance.onDisconnected()
    g_clubsCtrl.stop(isDisconnected=True)
    g_clanCtrl.stop()
    g_wgncProvider.clear()
    g_itemsCache.clear()
    g_goodiesCache.clear()
    g_eventsCache.clear()
    g_lobbyContext.clear()
    g_vehicleProgressCache.clear()
    UsersInfoHelper.clear()
    Waiting.rollback()
    Waiting.cancelCallback()
    g_appLoader.goToLoginByEvent()