| | |
| | | unlockTypeName.text = itemCompound.secondTypeName;
|
| | | arrowImg.gameObject.SetActive(thirdType != 0);
|
| | | UpdateBtnImg(selectSecondType);
|
| | | if (composeModel.secondTypeRedDict.ContainsKey(secondType))
|
| | | if (firstType == (int)ComposeFuncType.Item
|
| | | && composeModel.secondTypeRedDict.ContainsKey(secondType))
|
| | | {
|
| | | redpoint.gameObject.SetActive(true);
|
| | | redpoint.redpointId = composeModel.secondTypeRedDict[secondType].id;
|
| | |
| | | lockTypeName.text = itemCompound.thirdTypeName;
|
| | | lockLevel.text = StringUtility.Contact(itemCompound.levelNeed,Language.Get("Z1041"));
|
| | | string key = StringUtility.Contact(secondType, 10,thirdType);
|
| | | if (composeModel.thirdTypeRedDict.ContainsKey(key))
|
| | | if (firstType == (int)ComposeFuncType.Item
|
| | | && composeModel.thirdTypeRedDict.ContainsKey(key))
|
| | | {
|
| | | redpoint.gameObject.SetActive(true);
|
| | | redpoint.redpointId = composeModel.thirdTypeRedDict[key].id;
|
| | |
| | | composeWinModel.TryGetThirdTypeData((int)ComposeFuncType.Item, curSecondType, curThirdType, out thirdTypeData);
|
| | | if (thirdTypeData != null)
|
| | | {
|
| | | preSecondType = curSecondType;
|
| | | preThirdType = curThirdType;
|
| | | RefreshUI(thirdTypeData.itemCompound);
|
| | | if (isJumpTo)
|
| | | {
|
| | |
| | |
|
| | | public void OnPlayerLoginOk()
|
| | | {
|
| | | RefreshComposeRed();
|
| | | playerPack.RefreshItemCountAct -= OnItemCntRefresh;
|
| | | playerPack.RefreshItemCountAct += OnItemCntRefresh;
|
| | | PlayerDatas.Instance.PlayerDataRefreshInfoEvent -= PlayerLvUpdate;
|
| | | PlayerDatas.Instance.PlayerDataRefreshInfoEvent += PlayerLvUpdate;
|
| | | UpdateComposeDataByLevel();
|
| | | RefreshComposeRed();
|
| | | }
|
| | |
|
| | | public void ResetModel()
|