mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-24 20:22:33 -06:00
17 lines
635 B
Python
17 lines
635 B
Python
|
from direct.distributed.DistributedObjectGlobal import DistributedObjectGlobal
|
||
|
from direct.directnotify.DirectNotifyGlobal import directNotify
|
||
|
from otp.otpbase import OTPGlobals
|
||
|
from otp.uberdog.SpeedchatRelay import SpeedchatRelay
|
||
|
from otp.uberdog import SpeedchatRelayGlobals
|
||
|
|
||
|
class TTSpeedchatRelay(SpeedchatRelay):
|
||
|
|
||
|
def __init__(self, cr):
|
||
|
SpeedchatRelay.__init__(self, cr)
|
||
|
|
||
|
def sendSpeedchatToonTask(self, receiverId, taskId, toNpcId, toonProgress, msgIndex):
|
||
|
self.sendSpeedchatToRelay(receiverId, SpeedchatRelayGlobals.TOONTOWN_QUEST, [taskId,
|
||
|
toNpcId,
|
||
|
toonProgress,
|
||
|
msgIndex])
|