少年修仙传客户端代码仓库
client_Zxw
2019-01-11 aef34f31e72e88ba096c2d2bbc6d9beecfab67da
System/OpenServerActivity/OpenServiceAchievementModel.cs
@@ -71,6 +71,14 @@
    private int _SelectedNow = 0;
    private int ResetType = 0;// 重置类型,0-0点重置;1-5点重置
    public event Action IsOpenEvent;
    private int _JumpIndex = -1;//跳转选中值
    public int JumpIndex
    {
        get { return _JumpIndex; }
        set { _JumpIndex = value; }
    }
    public int SelectedNow//选中天
    {
        get { return _SelectedNow; }
@@ -507,6 +515,28 @@
        }
    }
    public bool IsJumpOpen()
    {
        bool Isbool = false;
        if (LimitLV == 0)//活动未开启
        {
            SysNotifyMgr.Instance.ShowTip("OutofActivityTime");
            return false;
        }
        else
        {
            if (PlayerDatas.Instance.baseData.LV < LimitLV)//等级未到达
            {
                SysNotifyMgr.Instance.ShowTip("NotEenoughGrade");
                return Isbool;
            }
        }
        if (_IsOpen)
        {
            Isbool = true;
        }
        return Isbool;
    }
}