Esempio n. 1
0
 def __companyExpiredCallback(self, result):
     """
     Callback for company expired dialog.
     Args:
         result: confirmation result
     """
     ctx = LeaveLegacyCtx(waitingID='prebattle/leave')
     if not self.prbDispatcher.isRequestInProcess():
         self.leave(ctx)
Esempio n. 2
0
 def createLeaveCtx(self, flags=FUNCTIONAL_FLAG.UNDEFINED, entityType=0):
     return LeaveLegacyCtx(waitingID='prebattle/leave',
                           flags=flags,
                           entityType=entityType)