def announceGenerate(self): DistributedPartyTeamActivity.announceGenerate(self) for i in range(len(self.toonIds)): for toonId in self.toonIds[i]: toon = base.cr.doId2do.get(toonId, None) if toon: self.view.handleToonJoined(toon, i, lateEntry=True)
def announceGenerate(self): DistributedPartyTeamActivity.announceGenerate(self) for i in range(len(self.toonIds)): for toonId in self.toonIds[i]: toon = base.cr.doId2do.get(toonId, None) if toon: self.view.handleToonJoined(toon, i, lateEntry=True)
def announceGenerate(self): DistributedPartyTeamActivity.announceGenerate(self) # Because setToonsPlaying is a required field # And load is called at announceGenerate # The toons that are in that activity to be positioned # in the view after we get all the data and the view is loaded. for i in range(len(self.toonIds)): for toonId in self.toonIds[i]: toon = base.cr.doId2do.get(toonId, None) if toon: self.view.handleToonJoined(toon, i, lateEntry=True)