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


Python LobbySubView._dispose方法代码示例

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


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

示例1: _dispose

# 需要导入模块: from gui.Scaleform.daapi import LobbySubView [as 别名]
# 或者: from gui.Scaleform.daapi.LobbySubView import _dispose [as 别名]
 def _dispose(self):
     """
     Dispose method should never be called before populate finish. So, we're delaying
     its invoke til populate load is finished.
     """
     self.removeListener(LobbySimpleEvent.HIDE_HANGAR, self._onCustomizationShow)
     self.removeListener(LobbySimpleEvent.NOTIFY_CURSOR_OVER_3DSCENE, self.__onNotifyCursorOver3dScene)
     self.removeListener(LobbySimpleEvent.WAITING_SHOWN, self.__onWaitingShown, EVENT_BUS_SCOPE.LOBBY)
     g_itemsCache.onSyncCompleted -= self.onCacheResync
     g_clientUpdateManager.removeObjectCallbacks(self)
     g_playerEvents.onVehicleBecomeElite -= self.__onVehicleBecomeElite
     g_playerEvents.onBattleResultsReceived -= self.onFittingUpdate
     g_currentVehicle.onChanged -= self.__onCurrentVehicleChanged
     game_control.g_instance.igr.onIgrTypeChanged -= self.__onIgrTypeChanged
     game_control.g_instance.fallout.onSettingsChanged -= self.__switchCarousels
     g_hangarSpace.onObjectSelected -= self.__on3DObjectSelected
     g_hangarSpace.onObjectUnselected -= self.__on3DObjectUnSelected
     g_hangarSpace.onObjectClicked -= self.__on3DObjectClicked
     g_prbCtrlEvents.onVehicleClientStateChanged -= self.__onVehicleClientStateChanged
     if self.__selected3DEntity is not None:
         BigWorld.wgDelEdgeDetectEntity(self.__selected3DEntity)
         self.__selected3DEntity = None
     self.closeHelpLayout()
     self.stopGlobalListening()
     LobbySubView._dispose(self)
     return
开发者ID:aevitas,项目名称:wotsdk,代码行数:28,代码来源:hangarhangar.py

示例2: _dispose

# 需要导入模块: from gui.Scaleform.daapi import LobbySubView [as 别名]
# 或者: from gui.Scaleform.daapi.LobbySubView import _dispose [as 别名]
 def _dispose(self):
     g_clientUpdateManager.removeObjectCallbacks(self)
     g_playerEvents.onVehicleBecomeElite -= self.__onVehicleBecomeElite
     g_playerEvents.onBattleResultsReceived -= self.onFittingUpdate
     g_currentVehicle.onChanged -= self.__onCurrentVehicleChanged
     game_control.g_instance.igr.onIgrTypeChanged -= self.__onIgrTypeChanged
     self.closeHelpLayout()
     self.stopGlobalListening()
     LobbySubView._dispose(self)
开发者ID:19colt87,项目名称:WOTDecompiled,代码行数:11,代码来源:hangar.py

示例3: _dispose

# 需要导入模块: from gui.Scaleform.daapi import LobbySubView [as 别名]
# 或者: from gui.Scaleform.daapi.LobbySubView import _dispose [as 别名]
 def _dispose(self):
     g_eventsCache.onSyncCompleted -= self.onEventsCacheResync
     g_itemsCache.onSyncCompleted -= self.onCacheResync
     g_clientUpdateManager.removeObjectCallbacks(self)
     g_prbCtrlEvents.onPreQueueFunctionalChanged -= self.onPreQueueFunctionalChanged
     g_playerEvents.onVehicleBecomeElite -= self.__onVehicleBecomeElite
     g_playerEvents.onBattleResultsReceived -= self.onFittingUpdate
     g_currentVehicle.onChanged -= self.__onCurrentVehicleChanged
     game_control.g_instance.igr.onIgrTypeChanged -= self.__onIgrTypeChanged
     game_control.g_instance.serverStats.onStatsReceived -= self.__onStatsReceived
     self.closeHelpLayout()
     self.stopGlobalListening()
     LobbySubView._dispose(self)
开发者ID:wotmods,项目名称:WOTDecompiled,代码行数:15,代码来源:hangar.py

示例4: _dispose

# 需要导入模块: from gui.Scaleform.daapi import LobbySubView [as 别名]
# 或者: from gui.Scaleform.daapi.LobbySubView import _dispose [as 别名]
 def _dispose(self):
     self.removeListener(LobbySimpleEvent.HIDE_HANGAR, self._onCustomizationShow)
     self.removeListener(LobbySimpleEvent.NOTIFY_CURSOR_OVER_3DSCENE, self.__onNotifyCursorOver3dScene)
     self.removeListener(LobbySimpleEvent.WAITING_SHOWN, self.__onWaitingShown, EVENT_BUS_SCOPE.LOBBY)
     g_itemsCache.onSyncCompleted -= self.onCacheResync
     g_clientUpdateManager.removeObjectCallbacks(self)
     g_playerEvents.onVehicleBecomeElite -= self.__onVehicleBecomeElite
     g_playerEvents.onBattleResultsReceived -= self.onFittingUpdate
     g_currentVehicle.onChanged -= self.__onCurrentVehicleChanged
     game_control.g_instance.igr.onIgrTypeChanged -= self.__onIgrTypeChanged
     game_control.g_instance.serverStats.onStatsReceived -= self.__onStatsReceived
     g_hangarSpace.onObjectSelected -= self.__on3DObjectSelected
     g_hangarSpace.onObjectUnselected -= self.__on3DObjectUnSelected
     g_prbCtrlEvents.onVehicleClientStateChanged -= self.__onVehicleClientStateChanged
     if self.__selected3DEntity is not None:
         BigWorld.wgDelEdgeDetectEntity(self.__selected3DEntity)
         self.__selected3DEntity = None
     self.closeHelpLayout()
     self.stopGlobalListening()
     LobbySubView._dispose(self)
     return
开发者ID:webiumsk,项目名称:WOT0.10.0,代码行数:23,代码来源:hangar.py

示例5: _dispose

# 需要导入模块: from gui.Scaleform.daapi import LobbySubView [as 别名]
# 或者: from gui.Scaleform.daapi.LobbySubView import _dispose [as 别名]
 def _dispose(self):
     LobbySubView._dispose(self)
开发者ID:webiumsk,项目名称:WOT-0.9.12-CT,代码行数:4,代码来源:profile.py


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