Пример #1
0
def onAccountBecomeNonPlayer():
    g_itemsCache.clear()
    g_goodiesCache.clear()
    g_currentVehicle.destroy()
    g_hangarSpace.destroy()
    guiModsSendEvent('onAccountBecomeNonPlayer')
    UsersInfoHelper.clear()
Пример #2
0
def onAccountBecomeNonPlayer():
    g_itemsCache.clear()
    g_goodiesCache.clear()
    g_currentVehicle.destroy()
    g_currentPreviewVehicle.destroy()
    g_hangarSpace.destroy()
    guiModsSendEvent('onAccountBecomeNonPlayer')
    UsersInfoHelper.clear()
Пример #3
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()
Пример #4
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()
Пример #5
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()
Пример #6
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()
Пример #7
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()
Пример #8
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()
Пример #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()
Пример #10
0
def onAccountBecomeNonPlayer():
    g_itemsCache.clear()
    g_currentVehicle.destroy()
    g_hangarSpace.destroy()
Пример #11
0
def onDisconnected():
    g_prbLoader.onDisconnected()
    game_control.g_instance.onDisconnected()
    g_itemsCache.clear()
    g_lobbyContext.clear()
Пример #12
0
def onAccountBecomeNonPlayer():
    g_itemsCache.clear()
    g_currentVehicle.destroy()
    g_hangarSpace.destroy()
Пример #13
0
def onDisconnected():
    g_prbLoader.onDisconnected()
    game_control.g_instance.onDisconnected()
    g_itemsCache.clear()
    g_lobbyContext.clear()