toontown-just-works/toontown/distributed/ToontownDistrict.py

14 lines
508 B
Python
Raw Permalink Normal View History

2024-07-07 18:08:39 -05:00
from direct.directnotify import DirectNotifyGlobal
from direct.distributed import DistributedObject
from otp.distributed import DistributedDistrict
class ToontownDistrict(DistributedDistrict.DistributedDistrict):
notify = DirectNotifyGlobal.directNotify.newCategory('ToontownDistrict')
def __init__(self, cr):
DistributedDistrict.DistributedDistrict.__init__(self, cr)
self.avatarCount = 0
self.invasionStatus = 0
self.suitStatus = ''
self.groupAvCount = []