| | |
| | | curPlayer.SetTickByType(ChConfig.TYPE_Player_Tick_RequestEquipShowHide, tick)
|
| | | sendPack = IPY_GameWorld.IPY_CRequestEquipShowHide()
|
| | | classLV = sendPack.GetEquipShowSwitch()
|
| | | if not ChangeEquipfacadeByClassLV(curPlayer, classLV):
|
| | | oldClassLV = GetEquipFacadeClassLV(curPlayer)
|
| | | if oldClassLV == classLV:
|
| | | return
|
| | | if curPlayer.GetEquipShowSwitch()/10 == classLV:
|
| | | if not ChangeEquipfacadeByClassLV(curPlayer, classLV):
|
| | | return
|
| | |
|
| | | #通知外观装备
|
| | |
| | | gridIndex = ipyData.GetGridIndex()
|
| | | updFaceEquipIndex = updFaceEquipIndex * 1000 + gridIndex
|
| | | equipIndexList.append(gridIndex)
|
| | |
|
| | | PlayerControl.SetFaceEquipIndex(curPlayer, updFaceEquipIndex)
|
| | | equipPack = curPlayer.GetItemManager().GetPack(IPY_GameWorld.rptEquip)
|
| | | for equipPackIndex in equipIndexList:
|