def onAccountBecomeNonPlayer():
    g_itemsCache.clear()
    g_goodiesCache.clear()
    g_currentVehicle.destroy()
    g_hangarSpace.destroy()
    guiModsSendEvent('onAccountBecomeNonPlayer')
    UsersInfoHelper.clear()
Exemple #2
0
def onAccountBecomeNonPlayer():
    g_itemsCache.clear()
    g_goodiesCache.clear()
    g_currentVehicle.destroy()
    g_currentPreviewVehicle.destroy()
    g_hangarSpace.destroy()
    guiModsSendEvent('onAccountBecomeNonPlayer')
    UsersInfoHelper.clear()
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()
Exemple #4
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()
Exemple #5
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()
Exemple #6
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()