def exitRequestDenied(self, reason):
     DistributedPartyActivity.exitRequestDenied(self, reason)
     if reason == PartyGlobals.DenialReasons.Default:
         self.showMessage(TTLocalizer.PartyTeamActivityExitDenied % self.getTitle())
     if self.isLocalToonPlaying and (self.isState('WaitToStart') or self.isState('WaitForEnough')):
         self.teamActivityGui.enableExitButton()
         if self._canSwitchTeams:
             self.teamActivityGui.enableSwitchButton()
예제 #2
0
 def exitRequestDenied(self, reason):
     DistributedPartyActivity.exitRequestDenied(self, reason)
     if reason == PartyGlobals.DenialReasons.Default:
         self.showMessage(TTLocalizer.PartyTeamActivityExitDenied %
                          self.getTitle())
     if self.isLocalToonPlaying and (self.isState('WaitToStart')
                                     or self.isState('WaitForEnough')):
         self.teamActivityGui.enableExitButton()
         if self._canSwitchTeams:
             self.teamActivityGui.enableSwitchButton()
예제 #3
0
 def exitRequestDenied(self, reason):
     DistributedPartyActivity.exitRequestDenied(self, reason)
     self.showMessage(TTLocalizer.PartyActivityDefaultExitDeny)
 def exitRequestDenied(self, reason):
     DistributedPartyActivity.exitRequestDenied(self, reason)
     if reason != PartyGlobals.DenialReasons.SilentFail:
         self.showMessage(TTLocalizer.PartyActivityDefaultExitDeny)
 def exitRequestDenied(self, reason):
     DistributedPartyActivity.exitRequestDenied(self, reason)
     self.showMessage(TTLocalizer.PartyActivityDefaultExitDeny)