oldschool-toontown/otp/avatar/AvatarHandle.py
2019-11-02 18:27:54 -04:00

24 lines
591 B
Python

class AvatarHandle:
dclassName = 'AvatarHandle'
def getName(self):
if __dev__:
pass
return ''
def isOnline(self):
if __dev__:
pass
return False
def isUnderstandable(self):
if __dev__:
pass
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)
return