示例#1
0
文件: squad.py 项目: webiumsk/WoT
 def prb_onPlayerStateChanged(self, pID, roster):
     super(SquadFunctional, self).prb_onPlayerStateChanged(pID, roster)
     if self.__doTeamReady:
         self.__doTeamReady = False
         self.__setTeamReady()
     g_eventDispatcher.updateUI()
     g_eventDispatcher.setSquadTeamReadyInCarousel(self.getPrbType(), self.__isTeamRead())
 def setPlayersChanged(self):
     g_eventDispatcher.setSquadTeamReadyInCarousel(self._entity.getEntityType(), isTeamReady=self._getTeamReady())
示例#3
0
 def setUsersChanged(self, data = None):
     g_eventDispatcher.setSquadTeamReadyInCarousel(self._functional.getEntityType(), isTeamReady=self._getTeamReady())
示例#4
0
文件: squad.py 项目: webiumsk/WoT
 def prb_onPlayerAdded(self, pID, roster):
     super(SquadFunctional, self).prb_onPlayerAdded(pID, roster)
     g_eventDispatcher.setSquadTeamReadyInCarousel(self.getPrbType(), self.__isTeamRead())
示例#5
0
文件: squad.py 项目: webiumsk/WoT
 def prb_onPlayerRemoved(self, pID, roster, name):
     super(SquadFunctional, self).prb_onPlayerRemoved(pID, roster, name)
     g_eventDispatcher.updateUI()
     g_eventDispatcher.setSquadTeamReadyInCarousel(self.getPrbType(), self.__isTeamRead())
 def setUsersChanged(self, data=None):
     g_eventDispatcher.setSquadTeamReadyInCarousel(
         self._functional.getEntityType(), isTeamReady=self._getTeamReady())