| | |
| | |
|
| | | public override void Refresh(CellView cell)
|
| | | {
|
| | | var config = Config.Instance.Get<CrossServerArenaConfig>(cell.index);
|
| | | var config = CrossServerArenaConfig.Get(cell.index);
|
| | | if (config == null) return;
|
| | | lvImg.SetSprite(config.IconKey);
|
| | | nameText.text = config.Name;
|
| | | nameText.color = UIHelper.GetDanLVColor(config.DanLV, true);
|
| | | var preConfig = Config.Instance.Get<CrossServerArenaConfig>(cell.index - 1);
|
| | | var preConfig = CrossServerArenaConfig.Get(cell.index - 1);
|
| | | int score = preConfig == null ? 0 : preConfig.LVUpScore;
|
| | | scoreText.text = Language.Get("UnionLiven101", score);
|
| | | }
|