mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-25 12:42:41 -06:00
25 lines
591 B
Python
25 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
|