当前位置: 首页>>代码示例>>Python>>正文


Python View._dispose方法代码示例

本文整理汇总了Python中gui.Scaleform.framework.entities.View.View._dispose方法的典型用法代码示例。如果您正苦于以下问题:Python View._dispose方法的具体用法?Python View._dispose怎么用?Python View._dispose使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在gui.Scaleform.framework.entities.View.View的用法示例。


在下文中一共展示了View._dispose方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: _dispose

# 需要导入模块: from gui.Scaleform.framework.entities.View import View [as 别名]
# 或者: from gui.Scaleform.framework.entities.View.View import _dispose [as 别名]
 def _dispose(self):
     game_control.g_instance.igr.onIgrTypeChanged -= self.__onIgrTypeChanged
     self.app.loaderManager.onViewLoadError -= self.__onViewLoadError
     self.app.loaderManager.onViewLoaded -= self.__onViewLoaded
     self.app.loaderManager.onViewLoadInit -= self.__onViewLoadInit
     g_playerEvents.onVehicleBecomeElite -= self.__onVehicleBecomeElite
     self.removeListener(events.LobbySimpleEvent.SHOW_HELPLAYOUT, self.__showHelpLayout, EVENT_BUS_SCOPE.LOBBY)
     self.removeListener(events.LobbySimpleEvent.CLOSE_HELPLAYOUT, self.__closeHelpLayout, EVENT_BUS_SCOPE.LOBBY)
     View._dispose(self)
开发者ID:webiumsk,项目名称:WoT,代码行数:11,代码来源:lobbyview.py

示例2: _dispose

# 需要导入模块: from gui.Scaleform.framework.entities.View import View [as 别名]
# 或者: from gui.Scaleform.framework.entities.View.View import _dispose [as 别名]
 def _dispose(self):
     self.app.loaderManager.onViewLoadError -= self.__onViewLoadError
     self.app.loaderManager.onViewLoaded -= self.__onViewLoaded
     self.app.loaderManager.onViewLoadInit -= self.__onViewLoadInit
     self.app.containerManager.removeContainer(VIEW_TYPE.LOBBY_SUB)
     g_playerEvents.onVehicleBecomeElite -= self.__onVehicleBecomeElite
     self.removeListener(events.LobbySimpleEvent.SHOW_HELPLAYOUT, self.__showHelpLayout, EVENT_BUS_SCOPE.LOBBY)
     self.removeListener(events.LobbySimpleEvent.CLOSE_HELPLAYOUT, self.__closeHelpLayout, EVENT_BUS_SCOPE.LOBBY)
     View._dispose(self)
开发者ID:19colt87,项目名称:WOTDecompiled,代码行数:11,代码来源:lobbyview.py

示例3: _dispose

# 需要导入模块: from gui.Scaleform.framework.entities.View import View [as 别名]
# 或者: from gui.Scaleform.framework.entities.View.View import _dispose [as 别名]
 def _dispose(self):
     if self.__capsLockCallbackID is not None:
         BigWorld.cancelCallback(self.__capsLockCallbackID)
         self.__capsLockCallbackID = None
     connectionManager.onRejected -= self._onLoginRejected
     self._servers.onServersStatusChanged -= self.__updateServersList
     g_playerEvents.onLoginQueueNumberReceived -= self.__loginQueueDialogShown
     g_playerEvents.onKickWhileLoginReceived -= self._onKickedWhileLogin
     g_playerEvents.onAccountShowGUI -= self._clearLoginView
     View._dispose(self)
     return
开发者ID:webiumsk,项目名称:WOT-0.9.12,代码行数:13,代码来源:loginview.py

示例4: _dispose

# 需要导入模块: from gui.Scaleform.framework.entities.View import View [as 别名]
# 或者: from gui.Scaleform.framework.entities.View.View import _dispose [as 别名]
 def _dispose(self):
     ScaleformFileLoader.disableStreaming()
     self.__backgroundMode.hide()
     if self.__capsLockCallbackID is not None:
         BigWorld.cancelCallback(self.__capsLockCallbackID)
         self.__capsLockCallbackID = None
     connectionManager.onRejected -= self._onLoginRejected
     connectionManager.onKickWhileLoginReceived -= self._onKickedWhileLogin
     connectionManager.onQueued -= self._onHandleQueue
     self._servers.onServersStatusChanged -= self.__updateServersList
     g_playerEvents.onAccountShowGUI -= self._clearLoginView
     self._serversDP.fini()
     self._serversDP = None
     View._dispose(self)
     return
开发者ID:aevitas,项目名称:wotsdk,代码行数:17,代码来源:loginloginview.py

示例5: _dispose

# 需要导入模块: from gui.Scaleform.framework.entities.View import View [as 别名]
# 或者: from gui.Scaleform.framework.entities.View.View import _dispose [as 别名]
    def _dispose(self):
        self.__resetPreviewMode()
        for interface in self.__interfaces.itervalues():
            interface.destroy()
            interface.onDataInited -= self.__ci_onDataInited
            interface.onCustomizationChangeSuccess -= self.__ci_onCustomizationChangeSuccess
            interface.onCustomizationChangeFailed -= self.__ci_onCustomizationChangeFailed
            interface.onCustomizationDropSuccess -= self.__ci_onCustomizationDropSuccess
            interface.onCustomizationDropFailed -= self.__ci_onCustomizationDropFailed
            interface.onCurrentItemChange -= self.__ci_onCurrentItemChanged

        self.__interfaces.clear()
        self.__onceDataInited = False
        g_playerEvents.onShopResync -= self.__pe_onShopResync
        g_currentVehicle.onChanged -= self.__cv_onChanged
        g_clientUpdateManager.removeObjectCallbacks(self)
        View._dispose(self)
开发者ID:19colt87,项目名称:WOTDecompiled,代码行数:19,代码来源:vehiclecustomization.py

示例6: _dispose

# 需要导入模块: from gui.Scaleform.framework.entities.View import View [as 别名]
# 或者: from gui.Scaleform.framework.entities.View.View import _dispose [as 别名]
 def _dispose(self):
     if self.__backgroundMode == _VIDEO_BG_MODE:
         WWISE.WW_eventGlobalSync('loginscreen_music_stop_longfade')
     else:
         WWISE.WW_eventGlobalSync('loginscreen_ambient_stop')
     if self.__capsLockCallbackID is not None:
         BigWorld.cancelCallback(self.__capsLockCallbackID)
         self.__capsLockCallbackID = None
     connectionManager.onRejected -= self._onLoginRejected
     connectionManager.onKickWhileLoginReceived -= self._onKickedWhileLogin
     connectionManager.onQueued -= self._onHandleQueue
     self._servers.onServersStatusChanged -= self.__updateServersList
     g_playerEvents.onAccountShowGUI -= self._clearLoginView
     self._serversDP.fini()
     self._serversDP = None
     View._dispose(self)
     return
开发者ID:webiumsk,项目名称:WOT-0.9.15.1,代码行数:19,代码来源:loginview.py

示例7: _dispose

# 需要导入模块: from gui.Scaleform.framework.entities.View import View [as 别名]
# 或者: from gui.Scaleform.framework.entities.View.View import _dispose [as 别名]
    def _dispose(self):
        self.fireEvent(LobbySimpleEvent(LobbySimpleEvent.HIDE_HANGAR, False))
        self.__resetPreviewMode()
        for interface in self.__interfaces.itervalues():
            interface.destroy()
            interface.onDataInited -= self.__ci_onDataInited
            interface.onCustomizationChangeSuccess -= self.__ci_onCustomizationChangeSuccess
            interface.onCustomizationChangeFailed -= self.__ci_onCustomizationChangeFailed
            interface.onCustomizationDropSuccess -= self.__ci_onCustomizationDropSuccess
            interface.onCustomizationDropFailed -= self.__ci_onCustomizationDropFailed
            interface.onCurrentItemChange -= self.__ci_onCurrentItemChanged

        self.__interfaces.clear()
        self.__onceDataInited = False
        g_itemsCache.onSyncCompleted -= self.__pe_onShopResync
        game_control.g_instance.igr.onIgrTypeChanged -= self.__onIGRTypeChanged
        g_currentVehicle.onChanged -= self.__cv_onChanged
        g_hangarSpace.onSpaceCreate -= self.__hs_onSpaceCreate
        g_playerEvents.onDossiersResync -= self.__pe_onDossiersResync
        g_clientUpdateManager.removeObjectCallbacks(self)
        CustomizationHelper.clearStoredCustomizationData()
        View._dispose(self)
开发者ID:webiumsk,项目名称:WoT,代码行数:24,代码来源:vehiclecustomization.py


注:本文中的gui.Scaleform.framework.entities.View.View._dispose方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。