| | |
| | | int itemID = rewardArr[i][0]; |
| | | itemCell.SetActive(true); |
| | | itemCell.Init(new ItemCellModel(itemID, true, rewardArr[i][1])); |
| | | itemCell.SetClickListener(() => ItemTipUtility.Show(itemID, true)); |
| | | itemCell.button.SetListener(() => ItemTipUtility.Show(itemID, true)); |
| | | } |
| | | else |
| | | { |
| | |
| | | var serverIDList = act.GetServerIDList(); |
| | | if (serverIDList.Count == 0) return; |
| | | |
| | | if (null == VersionConfig.config) |
| | | if (null == VersionConfig.Get()) |
| | | { |
| | | throw new System.Exception("VersionConfig is null when show LianQi server list, check VersionConfig.GetAsync for more details"); |
| | | } |
| | |
| | | for (int i = 0; i < serverIDList.Count; i++) |
| | | { |
| | | int serverID = serverIDList[i]; |
| | | if (VersionConfig.config.isBanShu) |
| | | if (VersionConfig.Get().isBanShu) |
| | | { |
| | | if (serverID != 8000) |
| | | continue; |