예제 #1
0
 def _doDeactivate(self):
     g_eventBus.removeListener(AppLifeCycleEvent.INITIALIZED,
                               self.__onSfAppInited, EVENT_BUS_SCOPE.GLOBAL)
     self.__weaver.clear()
     g_currentVehicle.destroy()
     g_currentPreviewVehicle.destroy()
     self.hangarSpace.destroy()
예제 #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 onAccountBecomeNonPlayer():
    g_itemsCache.clear()
    g_goodiesCache.clear()
    g_currentVehicle.destroy()
    g_currentPreviewVehicle.destroy()
    g_hangarSpace.destroy()
    guiModsSendEvent('onAccountBecomeNonPlayer')
    UsersInfoHelper.clear()
def onAccountBecomeNonPlayer():
    g_clanCache.clear()
    ServicesLocator.itemsCache.clear()
    ServicesLocator.goodiesCache.clear()
    g_currentVehicle.destroy()
    g_currentPreviewVehicle.destroy()
    ServicesLocator.hangarSpace.destroy()
    g_prbLoader.onAccountBecomeNonPlayer()
    guiModsSendEvent('onAccountBecomeNonPlayer')
    UsersInfoHelper.clear()
예제 #5
0
 def _doDeactivate(self):
     from bootcamp.BootcampGarage import g_bootcampGarage
     g_eventBus.removeListener(GUICommonEvent.LOBBY_VIEW_LOADED,
                               self.onLobbyInited)
     g_bootcampEvents.onBattleReady -= self._onBattleReady
     g_bootcampGarage.stopLobbyAssistance()
     g_bootcampGarage.clear()
     self.__weaver.clear()
     from gui.shared.utils.HangarSpace import g_hangarSpace
     g_currentVehicle.destroy()
     g_currentPreviewVehicle.destroy()
     g_hangarSpace.destroy()