當前位置: 首頁>>代碼示例>>Python>>正文


Python daapi.LobbySubView類代碼示例

本文整理匯總了Python中gui.Scaleform.daapi.LobbySubView的典型用法代碼示例。如果您正苦於以下問題:Python LobbySubView類的具體用法?Python LobbySubView怎麽用?Python LobbySubView使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


在下文中一共展示了LobbySubView類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。

示例1: _dispose

 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,代碼行數:26,代碼來源:hangarhangar.py

示例2: _populate

 def _populate(self):
     LobbySubView._populate(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.startGlobalListening()
     game_control.g_instance.aogas.enableNotifyAccount()
     g_clientUpdateManager.addCallbacks(
         {
             "inventory.1": self.onVehiclesUpdate,
             "stats.multipliedXPVehs_r": self.onVehiclesUpdate,
             "stats.slots": self.onVehiclesUpdate,
             "stats.vehTypeXP": self.onVehiclesUpdate,
             "stats.unlocks": self.onVehiclesUpdate,
             "stats.eliteVehicles": self.onVehiclesUpdate,
             "stats.credits": self.onFittingUpdate,
             "stats.gold": self.onFittingUpdate,
             "stats.vehicleSellsLeft": self.onFittingUpdate,
             "stats.vehTypeLocks": self.onVehiclesUpdate,
             "cache.vehsLock": self.onVehiclesUpdate,
         }
     )
     self.__onIgrTypeChanged()
     self.__updateAll()
開發者ID:19colt87,項目名稱:WOTDecompiled,代碼行數:25,代碼來源:hangar.py

示例3: _populate

 def _populate(self):
     LobbySubView._populate(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
     game_control.g_instance.fallout.onSettingsChanged += self.__switchCarousels
     g_itemsCache.onSyncCompleted += self.onCacheResync
     g_hangarSpace.onObjectSelected += self.__on3DObjectSelected
     g_hangarSpace.onObjectUnselected += self.__on3DObjectUnSelected
     g_hangarSpace.onObjectClicked += self.__on3DObjectClicked
     g_prbCtrlEvents.onVehicleClientStateChanged += self.__onVehicleClientStateChanged
     g_clientUpdateManager.addCallbacks({'stats.credits': self.onMoneyUpdate,
      'stats.gold': self.onMoneyUpdate,
      'stats.vehicleSellsLeft': self.onFittingUpdate,
      'stats.slots': self.onFittingUpdate,
      'goodies': self.onFittingUpdate})
     self.startGlobalListening()
     self.__onIgrTypeChanged()
     if IS_SHOW_SERVER_STATS:
         self._updateCurrentServerInfo()
     self.__updateAll()
     self.addListener(LobbySimpleEvent.HIDE_HANGAR, self._onCustomizationShow)
     self.addListener(LobbySimpleEvent.NOTIFY_CURSOR_OVER_3DSCENE, self.__onNotifyCursorOver3dScene)
     self.addListener(LobbySimpleEvent.WAITING_SHOWN, self.__onWaitingShown, EVENT_BUS_SCOPE.LOBBY)
開發者ID:webiumsk,項目名稱:WOT-0.9.15.1,代碼行數:26,代碼來源:hangar.py

示例4: _dispose

 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,代碼行數:9,代碼來源:hangar.py

示例5: _dispose

 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,代碼行數:13,代碼來源:hangar.py

示例6: _populate

 def _populate(self):
     LobbySubView._populate(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_prbCtrlEvents.onPreQueueFunctionalChanged += self.onPreQueueFunctionalChanged
     self.startGlobalListening()
     game_control.g_instance.aogas.enableNotifyAccount()
     g_itemsCache.onSyncCompleted += self.onCacheResync
     g_eventsCache.onSyncCompleted += self.onEventsCacheResync
     g_clientUpdateManager.addCallbacks({'stats.credits': self.onMoneyUpdate,
      'stats.gold': self.onMoneyUpdate,
      'stats.vehicleSellsLeft': self.onFittingUpdate,
      'stats.slots': self.onFittingUpdate})
     self.__onIgrTypeChanged()
     if IS_SHOW_SERVER_STATS:
         self._updateCurrentServerInfo()
     self.__updateAll()
開發者ID:wotmods,項目名稱:WOTDecompiled,代碼行數:20,代碼來源:hangar.py

示例7: _dispose

 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,代碼行數:21,代碼來源:hangar.py

示例8: __init__

 def __init__(self, ctx = None):
     CyberSportRespawnViewMeta.__init__(self)
     LobbySubView.__init__(self)
     self.currentState = ''
開發者ID:webiumsk,項目名稱:WOT-0.9.15-CT,代碼行數:4,代碼來源:cybersportrespawnview.py

示例9: __init__

 def __init__(self, ctx = None):
     self.__ctx = ctx
     LobbySubView.__init__(self)
     self.__tabNavigator = None
     return
開發者ID:krzcho,項目名稱:WOTDecompiled,代碼行數:5,代碼來源:profilepage.py

示例10: __init__

 def __init__(self):
     LobbySubView.__init__(self, 0)
開發者ID:wotmods,項目名稱:WOTDecompiled,代碼行數:2,代碼來源:hangar.py

示例11: _populate

 def _populate(self):
     LobbySubView._populate(self)
開發者ID:webiumsk,項目名稱:WOT-0.9.12-CT,代碼行數:2,代碼來源:profile.py

示例12: __init__

 def __init__(self, ctx = None):
     LobbySubView.__init__(self, 0)
開發者ID:krzcho,項目名稱:WOTDecompiled,代碼行數:2,代碼來源:hangar.py

示例13: __init__

 def __init__(self, _ = None):
     LobbySubView.__init__(self, 0)
     self.__browserID = None
     self.__controller = game_control.getEncyclopediaController()
     self.__urlFilter = None
     return
開發者ID:aevitas,項目名稱:wotsdk,代碼行數:6,代碼來源:hangaracademy.py

示例14: __init__

 def __init__(self, _ = None):
     LobbySubView.__init__(self, 0)
     self.__isCursorOver3dScene = False
     self.__selected3DEntity = None
開發者ID:kblw,項目名稱:wot_client,代碼行數:4,代碼來源:hangar.py

示例15: __init__

 def __init__(self, _ = None):
     LobbySubView.__init__(self, 0)
     self.__isCursorOver3dScene = False
     self.__selected3DEntity = None
     self.__currentCarouselAlias = None
     return
開發者ID:webiumsk,項目名稱:WOT-0.9.15.1,代碼行數:6,代碼來源:hangar.py


注:本文中的gui.Scaleform.daapi.LobbySubView類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。