def joinRequestDenied(self, reason):
     DistributedPartyActivity.joinRequestDenied(self, reason)
     self.notify.debug('joinRequestDenied')
     if reason == PartyGlobals.DenialReasons.Full:
         self.showMessage(TTLocalizer.PartyTeamActivityTeamFull)
     elif reason == PartyGlobals.DenialReasons.Default:
         self.showMessage(TTLocalizer.PartyTeamActivityJoinDenied % self.getTitle())
コード例 #2
0
    def joinRequestDenied(self, reason):
        DistributedPartyActivity.joinRequestDenied(self, reason)

        self.showMessage(TTLocalizer.PartyActivityDefaultJoinDeny)
        place = base.cr.playGame.getPlace()
        if place and hasattr(place, "fsm"):
            place.fsm.request("walk")
コード例 #3
0
    def joinRequestDenied(self, reason):
        """Local Toon was not allowed to join activity"""
        DistributedPartyActivity.joinRequestDenied(self, reason)
        self.notify.debug("joinRequestDenied")

        # let the local toon know that they were denied
        if reason == PartyGlobals.DenialReasons.Full:
            self.showMessage(TTLocalizer.PartyTeamActivityTeamFull)
        elif reason == PartyGlobals.DenialReasons.Default:
            self.showMessage(TTLocalizer.PartyTeamActivityJoinDenied %
                             self.getTitle())
コード例 #4
0
 def joinRequestDenied(self, reason):
     DistributedPartyActivity.joinRequestDenied(self, reason)
     self.showMessage(TTLocalizer.PartyActivityDefaultJoinDeny)
     base.cr.playGame.getPlace().fsm.request('walk')
 def joinRequestDenied(self, reason):
     DistributedPartyActivity.joinRequestDenied(self, reason)
     self.showMessage(TTLocalizer.PartyJukeboxOccupied)
コード例 #6
0
 def joinRequestDenied(self, reason):
     DistributedPartyActivity.joinRequestDenied(self, reason)
     self.showMessage(TTLocalizer.PartyJukeboxOccupied)
コード例 #7
0
 def joinRequestDenied(self, reason):
     DistributedPartyActivity.joinRequestDenied(self, reason)
     base.cr.playGame.getPlace().fsm.request('walk')
コード例 #8
0
 def joinRequestDenied(self, reason):
     DistributedPartyActivity.joinRequestDenied(self, reason)
     self.showMessage(TTLocalizer.PartyActivityDefaultJoinDeny)
     base.cr.playGame.getPlace().fsm.request('walk')
コード例 #9
0
 def joinRequestDenied(self, reason):
     DistributedPartyActivity.joinRequestDenied(self, reason)
     base.cr.playGame.getPlace().fsm.request('walk')
 def joinRequestDenied(self, reason):
     DistributedPartyActivity.joinRequestDenied(self, reason)
     self.showMessage(TTLocalizer.PartyActivityDefaultJoinDeny)
     place = base.cr.playGame.getPlace()
     if place and hasattr(place, 'fsm'):
         place.fsm.request('walk')