Poodletooth-iLand/otp/avatar/AvatarHandle.py
Master Jumblespeed d882959bfa switch to remote
2015-05-18 22:11:33 -04:00

15 lines
No EOL
462 B
Python
Executable file

class AvatarHandle:
dclassName = 'AvatarHandle'
def getName(self):
return ''
def isOnline(self):
return False
def isUnderstandable(self):
return True
def setTalkWhisper(self, fromAV, fromAC, avatarName, chat, mods, flags):
newText, scrubbed = localAvatar.scrubTalk(chat, mods)
base.talkAssistant.receiveWhisperTalk(fromAV, avatarName, fromAC, None, self.avatarId, self.getName(), newText, scrubbed)