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())
def setUsersChanged(self, data = None): g_eventDispatcher.setSquadTeamReadyInCarousel(self._functional.getEntityType(), isTeamReady=self._getTeamReady())
def prb_onPlayerAdded(self, pID, roster): super(SquadFunctional, self).prb_onPlayerAdded(pID, roster) g_eventDispatcher.setSquadTeamReadyInCarousel(self.getPrbType(), self.__isTeamRead())
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())