Poodletooth-iLand/toontown/chat/TTTalkAssistant.py

10 lines
454 B
Python
Raw Normal View History

2015-03-03 16:10:12 -06:00
from direct.directnotify import DirectNotifyGlobal
from otp.chat.TalkAssistant import TalkAssistant
2015-05-30 14:47:29 -05:00
from otp.chat.ChatGlobals import *
2015-03-03 16:10:12 -06:00
class TTTalkAssistant(TalkAssistant):
notify = DirectNotifyGlobal.directNotify.newCategory('TTTalkAssistant')
def sendToonTaskSpeedChat(self, taskId, toNpcId, toonProgress, msgIndex):
messenger.send(SCChatEvent)
2015-05-30 14:47:29 -05:00
messenger.send('chatUpdateSCToontask', [taskId, toNpcId, toonProgress, msgIndex])