本文整理汇总了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)
示例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)
示例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
示例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
示例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)
示例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
示例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)