| | |
| | | suiteLVList.append(suiteLV)
|
| | | return suiteLVList
|
| | |
|
| | | ## 获取玩家装备预览信息
|
| | | def GetPlayerEquipView(curPlayer):
|
| | | if not curPlayer:
|
| | | return []
|
| | | |
| | | playerID = curPlayer.GetPlayerID()
|
| | | playerEquipList = []
|
| | | |
| | | playerEquip = curPlayer.GetItemManager().GetPack(IPY_GameWorld.rptEquip)
|
| | | #玩家当前可装备的装备类型
|
| | | for equipIndex in xrange(0, playerEquip.GetCount()):
|
| | | |
| | | if equipIndex not in ShareDefine.RoleEquipType:
|
| | | continue
|
| | | |
| | | curEquip = playerEquip.GetAt(equipIndex)
|
| | | if curEquip.IsEmpty():
|
| | | continue
|
| | | |
| | | playerEquipList.append([curEquip.GetItemTypeID(), equipIndex, 0, 0])
|
| | | #curEquip.GetItemStarLV(), 0])
|
| | | |
| | | #GameWorld.DebugLog("玩家装备信息:%s" % str(playerEquipList), playerID)
|
| | | return playerEquipList
|
| | |
|
| | |
|
| | | #// A5 03 全身属性激活 #tagCMActiveAllEquipAttr
|
| | | #
|