Poodletooth-iLand/otp/distributed/PotentialAvatar.py
2015-03-03 17:10:12 -05:00

22 lines
730 B
Python

class PotentialAvatar:
def __init__(self, id, names, dna, position, allowedName, creator = 1, shared = 1, online = 0, wishState = 'CLOSED', wishName = '', defaultShard = 0, lastLogout = 0):
self.id = id
self.name = names[0]
self.dna = dna
self.avatarType = None
self.position = position
self.wantName = names[1]
self.approvedName = names[2]
self.rejectedName = names[3]
self.allowedName = allowedName
self.wishState = wishState
self.wishName = wishName
self.creator = creator
self.shared = shared
self.online = online
self.defaultShard = defaultShard
self.lastLogout = lastLogout
return