| | |
| | | public override void Refresh(CellView cell)
|
| | | {
|
| | | int ID = cell.index;
|
| | | if (!model.WeekPartyDayInfoDic.ContainsKey(model.SelectedNow) || !model.WeekPartyActionDic.ContainsKey(ID))
|
| | | var config = Config.Instance.Get<WeekPartyConfig>(ID);
|
| | | if (config==null||!model.WeekPartyDayInfoDic.ContainsKey(model.SelectedNow) || !model.WeekPartyActionDic.ContainsKey(ID))
|
| | | {
|
| | | return;
|
| | | }
|
| | |
| | | }
|
| | | else
|
| | | {
|
| | | m_TextA.text = Language.Get("OSA_1", 0);
|
| | | m_TextA.text = Language.Get("OSA_1", WeekPartyAction.SingleTimes);
|
| | | }
|
| | | m_TextB.text = "AAAAAAAAA";
|
| | | m_TextB.text = string.Format(config.Description,1);
|
| | | m_TextC.text = Language.Get("OSA_1", WeekPartyAction.Point);
|
| | | for (int i = 0; i < m_ItemList.childCount; i++)
|
| | | {
|
| | |
| | | m_Draw.SetActive(false);
|
| | | m_Btn.SetListener(() =>
|
| | | {
|
| | | // WindowJumpMgr.Instance.WindowJumpTo();
|
| | | DebugEx.LogError("-----------------------------");
|
| | | WindowJumpMgr.Instance.WindowJumpTo((JumpUIType)config.jump);
|
| | | });
|
| | | }
|
| | | else
|