mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
update account stuff
This commit is contained in:
parent
6656cd6351
commit
cd6c091b16
@ -7,6 +7,8 @@ appropriately in the db web interface.
|
||||
import DistributedObjectAI
|
||||
|
||||
class AccountAI(DistributedObjectAI.DistributedObjectAI):
|
||||
def __init__(self, cr):
|
||||
pass
|
||||
|
||||
def setPirate(self, slot, avatarId):
|
||||
if (not hasattr(self,'pirateAvatars')):
|
||||
self.pirateAvatars = [0,0,0,0,0,0]
|
||||
self.pirateAvatars[slot] = avatarId
|
||||
self.sendUpdate('pirateAvatars', self.pirateAvatars)
|
||||
|
Loading…
x
Reference in New Issue
Block a user