def responseCrewFound(self, sponsorName, crewOwnAvId, location):
     if not self.offerCurrentlyOnScreen:
         self.offerCurrentlyOnScreen = True
         self.availableCrew = crewOwnAvId
         self.notify.debug('responseCrewFound(%s, %s, %s)' %
                           (sponsorName, crewOwnAvId, location))
         self.confirmBox = CrewMatchInvitee.CrewMatchInvitee(
             crewOwnAvId, sponsorName, location, False)
     else:
         self.offerRequestCache.append([sponsorName, crewOwnAvId, location])
Example #2
0
 def responseInitialAvatarAdd(self, response, submitterName, crewOwnAvId, location, crewType):
     self.notify.debug('responseInitialAvatarAdd(%s, %s, %s, %s)' % (response, submitterName, crewOwnAvId, location))
     self.availableCrewSubmitterName = submitterName
     if response:
         self.confirmBox = CrewMatchInvitee.CrewMatchInvitee(crewOwnAvId, submitterName, location, True, crewType)
     elif crewType == 1:
         self.stackMessage(PLocalizer.CrewMatchNoCrewFound)
     elif crewType == 2:
         self.stackMessage(PLocalizer.CrewMatchNoCrewFoundPVP)
     
     self.putAvatarOnLookoutList(crewType)