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


Python UIInterface.populateUI方法代码示例

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


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

示例1: populateUI

# 需要导入模块: from gui.Scaleform.windows import UIInterface [as 别名]
# 或者: from gui.Scaleform.windows.UIInterface import populateUI [as 别名]
 def populateUI(self, proxy):
     UIInterface.populateUI(self, proxy)
     self.GUICtrl = self.uiHolder.getMember('_level0.radialMenu')
     self.GUICtrl.script = self
     for state in self.ALL_SHORTCUTS:
         self.GUICtrl.setState(state)
         list = self.__getDataForFlash(state)
         self.GUICtrl.buildData(list)
开发者ID:webiumsk,项目名称:WoT,代码行数:10,代码来源:radialmenu.py

示例2: populateUI

# 需要导入模块: from gui.Scaleform.windows import UIInterface [as 别名]
# 或者: from gui.Scaleform.windows.UIInterface import populateUI [as 别名]
 def populateUI(self, proxy):
     UIInterface.populateUI(self, proxy)
     sm = self.uiHolder.movie.soundManager
     sm.script = self
     try:
         self.sounds.load()
     except Exception:
         LOG_ERROR('There is error while loading sounds xml data')
         LOG_CURRENT_EXCEPTION()
开发者ID:Infernux,项目名称:Projects,代码行数:11,代码来源:soundmanager.py

示例3: populateUI

# 需要导入模块: from gui.Scaleform.windows import UIInterface [as 别名]
# 或者: from gui.Scaleform.windows.UIInterface import populateUI [as 别名]
    def populateUI(self, proxy):
        UIInterface.populateUI(self, proxy)
        self.GUICtrl = self.uiHolder.getMember('_level0.radialMenu')
        self.GUICtrl.script = self
        for state in self.ALL_SHORTCUTS:
            self.GUICtrl.setState(state)
            list = self.__getDataForFlash(state)
            self.GUICtrl.buildData(list)

        g_eventBus.addListener(GameEvent.RADIAL_MENU_CMD, self.__handleRadialMenuCmd, scope=EVENT_BUS_SCOPE.BATTLE)
开发者ID:aevitas,项目名称:wotsdk,代码行数:12,代码来源:battleradialmenu.py

示例4: populateUI

# 需要导入模块: from gui.Scaleform.windows import UIInterface [as 别名]
# 或者: from gui.Scaleform.windows.UIInterface import populateUI [as 别名]
    def populateUI(self, proxy):
        UIInterface.populateUI(self, proxy)
        self.GUICtrl = self.uiHolder.getMember('_level0.radialMenu')
        self.GUICtrl.script = self
        for state in self.ALL_SHORTCUTS:
            self.GUICtrl.setState(state)
            list = self.__getDataForFlash(state)
            self.GUICtrl.buildData(list)

        g_eventBus.addListener(GameEvent.RADIAL_MENU_CMD, self.__handleRadialMenuCmd, scope=EVENT_BUS_SCOPE.BATTLE)
        ctrl = g_sessionProvider.dynamic.respawn
        if ctrl is not None:
            ctrl.onRespawnVisibilityChanged += self.__onRespawnVisibilityChanged
        return
开发者ID:aevitas,项目名称:wotsdk,代码行数:16,代码来源:legacyradialmenu.py

示例5: populateUI

# 需要导入模块: from gui.Scaleform.windows import UIInterface [as 别名]
# 或者: from gui.Scaleform.windows.UIInterface import populateUI [as 别名]
 def populateUI(self, proxy):
     UIInterface.populateUI(self, proxy)
     self.flashObject = self.uiHolder.getMember('_level0.debugPanel')
     self.flashObject.script = self
开发者ID:webiumsk,项目名称:WOT0.10.0,代码行数:6,代码来源:battle.py

示例6: populateUI

# 需要导入模块: from gui.Scaleform.windows import UIInterface [as 别名]
# 或者: from gui.Scaleform.windows.UIInterface import populateUI [as 别名]
 def populateUI(self, proxy):
     UIInterface.populateUI(self, proxy)
     self.uiHolder.addExternalCallbacks({'%s.RequestLength' % self.__prefix: self.onRequestLength,
      '%s.RequestItemAt' % self.__prefix: self.onRequestItemAt,
      '%s.RequestItemRange' % self.__prefix: self.onRequestItemRange})
开发者ID:19colt87,项目名称:WOTDecompiled,代码行数:7,代码来源:data_providers.py


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