Пример #1
0
 def exit(self):
     self.ignore('openFriendsList')
     self.ignore('clickedNametag')
     toonbase.localToon.setFriendsListButtonActive(0)
     NametagGlobals.setMasterNametagsActive(0)
     if self.avatarPanel:
         self.avatarPanel.cleanup()
         self.avatarPanel = None
     self.ignore('gotoAvatar')
     self.ignore('friendAvatar')
     self.ignore('avatarDetails')
     FriendsListPanel.hideFriendsList()
     FriendSecret.hideFriendSecret()
     if toonbase.tcr.friendManager:
         toonbase.tcr.friendManager.setAvailable(0)
     self.ignore('friendInvitation')
     FriendInviter.hideFriendInviter()
     AvatarDetailPanel.hideAvatarDetail()
     TeleportPanel.hideTeleportPanel()
     return None
     return
Пример #2
0
 def exit(self):
     self.ignore('openFriendsList')
     self.ignore('clickedNametag')
     toonbase.localToon.setFriendsListButtonActive(0)
     NametagGlobals.setMasterNametagsActive(0)
     if self.avatarPanel:
         self.avatarPanel.cleanup()
         self.avatarPanel = None
     
     self.ignore('gotoAvatar')
     self.ignore('friendAvatar')
     self.ignore('avatarDetails')
     FriendsListPanel.hideFriendsList()
     FriendSecret.hideFriendSecret()
     if toonbase.tcr.friendManager:
         toonbase.tcr.friendManager.setAvailable(0)
     
     self.ignore('friendInvitation')
     FriendInviter.hideFriendInviter()
     AvatarDetailPanel.hideAvatarDetail()
     TeleportPanel.hideTeleportPanel()
     return None
Пример #3
0
 def _AvatarPanel__handleSecrets(self):
     toonbase.localToon.chatMgr.noWhisper()
     FriendSecret.showFriendSecret()
Пример #4
0
 def _FriendsListPanel__secrets(self):
     messenger.send('wakeup')
     FriendSecret.showFriendSecret()
 def _FriendsListPanel__secrets(self):
     messenger.send('wakeup')
     FriendSecret.showFriendSecret()
Пример #6
0
 def __secrets(self):
     messenger.send('wakeup')
     FriendSecret.showFriendSecret()