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
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
def _AvatarPanel__handleSecrets(self): toonbase.localToon.chatMgr.noWhisper() FriendSecret.showFriendSecret()
def _FriendsListPanel__secrets(self): messenger.send('wakeup') FriendSecret.showFriendSecret()
def __secrets(self): messenger.send('wakeup') FriendSecret.showFriendSecret()