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

14 lines
453 B
Python
Executable file

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