def setWhisperQTCustomFrom(self, fromId, qtSequence): sender = toonbase.tcr.identifyAvatar(fromId) if sender == None: return if fromId in self.ignoreList: sender.d_setWhisperIgnored(self.doId) return chatString = QTCustomNode.decodeQTCustomMsg(qtSequence) if chatString: self.displayWhisper(fromId, chatString, WhisperPopup.WTQuickTalker) return
def setWhisperQTCustomFrom(self, fromId, qtSequence): sender = toonbase.tcr.identifyAvatar(fromId) if sender == None: return None if fromId in self.ignoreList: sender.d_setWhisperIgnored(self.doId) return None chatString = QTCustomNode.decodeQTCustomMsg(qtSequence) if chatString: self.displayWhisper(fromId, chatString, WhisperPopup.WTQuickTalker)
def setQTCustom(self, qtSequence): chatString = QTCustomNode.decodeQTCustomMsg(qtSequence) if chatString: self.setChatAbsolute(chatString, CFSpeech | CFQuicktalker | CFTimeout)