Poodletooth-iLand/toontown/distributed/ToontownDistrict.py
Master Jumblespeed d882959bfa switch to remote
2015-05-18 22:11:33 -04:00

19 lines
638 B
Python
Executable file

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.newAvatarCount = 0
self.invasionStatus = 0
self.suitStatus = ''
def allowAHNNLog(self, allow):
self.allowAHNN = allow
def getAllowAHNNLog(self):
return self.allowAHNN