mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-25 12:42:41 -06:00
26 lines
698 B
Python
26 lines
698 B
Python
|
from pandac.PandaModules import *
|
||
|
from direct.distributed.DistributedObject import DistributedObject
|
||
|
from toontown.catalog import CatalogItemList
|
||
|
from toontown.catalog import CatalogItem
|
||
|
|
||
|
class DistributedDeliveryManager(DistributedObject):
|
||
|
neverDisable = 1
|
||
|
|
||
|
def sendHello(self, message):
|
||
|
self.sendUpdate('hello', [message])
|
||
|
|
||
|
def rejectHello(self, message):
|
||
|
print 'rejected', message
|
||
|
|
||
|
def helloResponse(self, message):
|
||
|
print 'accepted', message
|
||
|
|
||
|
def sendAck(self):
|
||
|
self.sendUpdate('requestAck', [])
|
||
|
|
||
|
def returnAck(self):
|
||
|
messenger.send('DeliveryManagerAck')
|
||
|
|
||
|
def test(self):
|
||
|
print 'Distributed Delviery Manager Stub Test'
|