oldschool-toontown/toontown/uberdog/DistributedDeliveryManager.py

26 lines
694 B
Python
Raw Normal View History

from panda3d.core import *
2019-11-02 17:27:54 -05:00
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)
2019-11-02 17:27:54 -05:00
def helloResponse(self, message):
print('accepted', message)
2019-11-02 17:27:54 -05:00
def sendAck(self):
self.sendUpdate('requestAck', [])
def returnAck(self):
messenger.send('DeliveryManagerAck')
def test(self):
print('Distributed Delviery Manager Stub Test')