Exemplo n.º 1
0
 def invokeOperation(self, operationName):
     if operationName == OPERATION_RETRAIN:
         self.fireEvent(LoadViewEvent(VIEW_ALIAS.RETRAIN_CREW))
     elif operationName == OPERATION_RETURN:
         self.__processReturnCrew()
     else:
         Crew.unloadCrew()
 def invokeOperation(self, operationName):
     if operationName == OPERATION_RETRAIN:
         self.fireEvent(LoadViewEvent(VIEW_ALIAS.RETRAIN_CREW), EVENT_BUS_SCOPE.LOBBY)
     elif operationName == OPERATION_RETURN:
         self.__processReturnCrew()
     else:
         Crew.unloadCrew()
 def invokeOperation(self, operationName):
     if operationName == OPERATION_RETRAIN:
         self.fireEvent(LoadViewEvent(SFViewLoadParams(VIEW_ALIAS.RETRAIN_CREW)), EVENT_BUS_SCOPE.LOBBY)
     elif operationName == OPERATION_RETURN:
         self.__processReturnCrew()
     elif operationName == OPERATION_CREW_BOOKS:
         availableBooksCount = self.__getAvailableBooksCount()
         if availableBooksCount > 0:
             self.__openCrewBooksView()
         else:
             self.__openCrewBooksLackView()
     else:
         Crew.unloadCrew()
Exemplo n.º 4
0
def DropAllCrew(self):
    Crew.unloadCrew()
Exemplo n.º 5
0
def DropAllCrew(self):
    Crew.unloadCrew()