本文整理匯總了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
示例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)
示例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)
示例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
示例5: _dispose
# 需要導入模塊: from gui.Scaleform.daapi import LobbySubView [as 別名]
# 或者: from gui.Scaleform.daapi.LobbySubView import _dispose [as 別名]
def _dispose(self):
LobbySubView._dispose(self)