コード例 #1
0
 def removeAvatarFriend(self, avId):
     AvatarFriendsManager.removeAvatarFriend(self, avId)
     self.avatarId2ShipState.pop(avId, None)
     shipId = self.avatarId2ShipId.get(avId, 0)
     if shipId:
         self.shipId2ShipState.pop(avId, None)
     
     self.avatarId2ShipId.pop(avId, None)
コード例 #2
0
 def updateAvatarFriend(self, id, info):
     pcinfo = PCFriendAvatarInfo.makeFromFriendInfo(info)
     AvatarFriendsManager.updateAvatarFriend(self, id, pcinfo)
コード例 #3
0
 def __init__(self, cr):
     AvatarFriendsManager.__init__(self, cr)
     self.avatarId2ShipState = { }
     self.avatarId2ShipId = { }
     self.shipId2ShipState = { }