예제 #1
0
    def __showAvailablePMOperation(self, branch):
        for operationID in finders.BRANCH_TO_OPERATION_IDS[branch]:
            operation = self._eventsCache.getPersonalMissions().getAllOperations()[operationID]
            result, _ = operation.isAvailable()
            if result:
                showPersonalMissionOperationsPage(branch, operationID)
                return

        showPersonalMissionsOperationsMap()
예제 #2
0
 def openPersonalMissions(self, cmd):
     server_events.showPersonalMissionOperationsPage(
         PM_BRANCH.NAME_TO_TYPE[cmd.branch], operationID=cmd.operation_id)
예제 #3
0
 def openPersonalMissions(self, cmd):
     server_events.showPersonalMissionOperationsPage(
         cmd.branch, operationID=cmd.operation_id)
예제 #4
0
 def onBackBtnClick(self):
     showPersonalMissionOperationsPage()
 def closeView(self):
     showPersonalMissionOperationsPage(self.getBranch(),
                                       self.getOperationID())
 def closeView(self):
     showPersonalMissionOperationsPage()