Poodletooth-iLand/toontown/chat/TTTalkAssistant.py

11 lines
455 B
Python
Raw Normal View History

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