historical/toontown-classic.git/toontown/uberdog/DistributedDeliveryManagerUD.py
2024-01-16 11:20:27 -06:00

13 lines
461 B
Python

from direct.directnotify import DirectNotifyGlobal
from direct.distributed.DistributedObjectGlobalUD import DistributedObjectGlobalUD
class DistributedDeliveryManagerUD(DistributedObjectGlobalUD):
notify = DirectNotifyGlobal.directNotify.newCategory('DistributedDeliveryManagerUD')
def requestAck(self):
avId = self.air.getAvatarIdFromSender()
if not avId:
return
self.sendUpdateToAvatarId(avId, 'returnAck', [])