Poodletooth-iLand/toontown/toon/ToonDetail.py

15 lines
453 B
Python
Raw Normal View History

2015-03-03 22:10:12 +00:00
from direct.directnotify.DirectNotifyGlobal import directNotify
from otp.avatar import AvatarDetail
from toontown.toon import DistributedToon
class ToonDetail(AvatarDetail.AvatarDetail):
notify = directNotify.newCategory('ToonDetail')
def getDClass(self):
return 'DistributedToon'
def createHolder(self):
toon = DistributedToon.DistributedToon(base.cr, bFake=True)
toon.forceAllowDelayDelete()
return toon