mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -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
|
import DistributedObjectAI
|
||||||
|
|
||||||
class AccountAI(DistributedObjectAI.DistributedObjectAI):
|
class AccountAI(DistributedObjectAI.DistributedObjectAI):
|
||||||
def __init__(self, cr):
|
def setPirate(self, slot, avatarId):
|
||||||
pass
|
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