Poodletooth-iLand/toontown/chat/TTTalkAssistant.py
2015-07-05 19:59:25 -04:00

10 lines
455 B
Python
Executable file

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])