historical/toontown-just-works.git/toontown/chat/TTTalkAssistant.py

11 lines
455 B
Python
Raw Normal View History

2024-01-16 17:20:27 +00:00
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])