少年修仙传客户端代码仓库
client_Zxw
2018-11-08 bbb9c1b6d69c68a43b3acf3d4dbf587b03556d29
4629 子 【开发】【1.2.0】7天登录弹窗 / 【前端】【1.2.0】7天登录弹窗
1个文件已修改
8 ■■■■■ 已修改文件
System/OpenServerActivity/InSevenDayBehavior.cs 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/OpenServerActivity/InSevenDayBehavior.cs
@@ -6,6 +6,7 @@
using System.Collections;
using UnityEngine.UI;
using System.Collections.Generic;
using TableConfig;
namespace Snxxz.UI {
@@ -15,6 +16,7 @@
        [SerializeField] Button m_GoButton;
        [SerializeField] ItemCell m_ItemCell;
        [SerializeField] Text m_ItemNameTxt;
        [SerializeField] Text m_NewItemTxt;
        InSevenDayModel inSevenDayModel { get { return ModelCenter.Instance.GetModel<InSevenDayModel>(); } }
        private void Start()
        {
@@ -60,6 +62,12 @@
                ItemCellModel cellModel = new ItemCellModel(item.item.id, true, (ulong)item.item.count, item.isBind);
                m_ItemCell.Init(cellModel);
            }
            var config = Config.Instance.Get<InSevenDaysConfig>(inDay);
            if (config != null)
            {
                m_NewItemTxt.text = config.RewardName;
            }
        }
        private string SetNumberOfRounds(int num)