| | |
| | | playerPack.RefreshAttrActiveAct += ControlEffect;
|
| | | playerPack.ItemCntAddAct += PutOnEquip;
|
| | | playerPack.ItemCntReduceAct += PutOffEquip;
|
| | | PlayerDatas.Instance.PlayerDataRefreshInfoEvent += UpdatePlayerLv;
|
| | | PlayerDatas.Instance.RefreshPlayerInfoEvent += OnFrenshBagInfo;
|
| | | WindowCenter.Instance.windowBeforeCloseEvent += BeforeWindowClose;
|
| | |
|
| | |
| | | playerPack.ItemCntReduceAct -= PutOffEquip;
|
| | | PlayerDatas.Instance.RefreshPlayerInfoEvent -= OnFrenshBagInfo;
|
| | | WindowCenter.Instance.windowBeforeCloseEvent -= BeforeWindowClose;
|
| | | PlayerDatas.Instance.PlayerDataRefreshInfoEvent -= UpdatePlayerLv;
|
| | | UI3DModelExhibition.Instance.StopShow();
|
| | | }
|
| | |
|
| | |
| | | {
|
| | | for (int i = 0; i < equipPlaces.Count; i++)
|
| | | {
|
| | | equipPlaces[i].Display(equipPlace);
|
| | | var placeCell = equipPlaces[i];
|
| | | if ((int)placeCell.equipType == equipPlace)
|
| | | {
|
| | | placeCell.Display(equipPlace);
|
| | | break;
|
| | | }
|
| | | }
|
| | | UI3DModelExhibition.Instance.ShowPlayer(RoleShowBG, PlayerDatas.Instance.baseData.Job);
|
| | | }
|
| | |
| | | UpdateRoleEquip(place);
|
| | | }
|
| | |
|
| | | private void UpdatePlayerLv(PlayerDataRefresh type)
|
| | | {
|
| | | if (type != PlayerDataRefresh.LV) return;
|
| | |
|
| | | |
| | | for (int i = 1; i < 13; i++)
|
| | | {
|
| | | UpdateRoleEquip(i);
|
| | | }
|
| | | }
|
| | |
|
| | | private void OnClickEquipIntensify(GameObject go)
|
| | | {
|
| | | WindowCenter.Instance.Open<PlayerStrengtheningLVWin>();
|