| | |
| | |
|
| | | protected override void OnConfigParseCompleted()
|
| | | {
|
| | | if (DailyBootyUpperList != null)
|
| | | { |
| | | for (int i = 0; i < DailyBootyUpperList.Length; i++)
|
| | | {
|
| | | if (DailyBootyUpperList[i].Length == 0)
|
| | | return;
|
| | | int itemID = DailyBootyUpperList[i][0];
|
| | | if (!unLockedChapterDict.Contains(itemID))
|
| | | {
|
| | |
| | | }
|
| | | }
|
| | | }
|
| | | }
|
| | |
|
| | |
|
| | | }
|
| | |
| | | { |
| | | lockImg.SetActive(false); |
| | | int maxValue = 0; |
| | | if (config.DailyBootyUpperList != null) |
| | | { |
| | | for (int i = 0; i < config.DailyBootyUpperList.Length; i++) |
| | | { |
| | | if (config.DailyBootyUpperList[i][0] == itemID) |
| | |
| | | break; |
| | | } |
| | | } |
| | | } |
| | | int curValue = 0; |
| | | MainLevelManager.Instance.m_DailyBootyDict.TryGetValue(itemID, out curValue); |
| | | dropValueText.text = UIHelper.AppendColor(curValue >= maxValue ? TextColType.Red : TextColType.Green, |