def __loadTrainingRoom(self, dispatcher): result = yield dispatcher.sendPrbRequest( SetPlayerStateCtx(True, waitingID='prebattle/player_not_ready')) if result: events_dispatcher.loadTrainingRoom()
def __loadTrainingRoom(self, dispatcher): result = yield dispatcher.sendPrbRequest(SetPlayerStateCtx(True, waitingID='prebattle/player_not_ready')) if result: events_dispatcher.loadTrainingRoom()
def __onPlayerReady(self, result): if result: events_dispatcher.loadTrainingRoom() else: events_dispatcher.loadHangar()
def __onPlayerReady(self, result): if result: events_dispatcher.loadTrainingRoom() else: events_dispatcher.loadHangar()