mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-24 04:02:40 -06:00
11 lines
455 B
Python
11 lines
455 B
Python
|
from direct.directnotify import DirectNotifyGlobal
|
||
|
from otp.chat.TalkAssistant import TalkAssistant
|
||
|
from otp.chat.ChatGlobals import *
|
||
|
|
||
|
class TTTalkAssistant(TalkAssistant):
|
||
|
notify = DirectNotifyGlobal.directNotify.newCategory('TTTalkAssistant')
|
||
|
|
||
|
def sendToonTaskSpeedChat(self, taskId, toNpcId, toonProgress, msgIndex):
|
||
|
messenger.send(SCChatEvent)
|
||
|
messenger.send('chatUpdateSCToontask', [taskId, toNpcId, toonProgress, msgIndex])
|