少年修仙传客户端代码仓库
client_Zxw
2018-09-06 a5390b793d8a629cd611746be3d9271e554f7e28
3321 前端  成长基金广播跳转提示
1个文件已修改
36 ■■■■■ 已修改文件
System/Vip/FairyJadeInvestmentModel.cs 36 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Vip/FairyJadeInvestmentModel.cs
@@ -358,10 +358,42 @@
            }
        }
    }
    public void MessageNotification()
    {
        var _funcOrder = 0;
        if (!OpenServerActivityCenter.Instance.IsAnyActivityOpen(out _funcOrder))
        {
            SysNotifyMgr.Instance.ShowTip("JadeInvestmentLimit1");//信息提示
            return;
        }
        else if (InvestmentGrade <= 0 && PlayerDatas.Instance.baseData.LV >= 300)
        {
            SysNotifyMgr.Instance.ShowTip("JadeInvestmentLimit2");//信息提示
            return;
        }
        else
        {
            bool isOpen = false;
            if (InvestmentGrade == 4)
            {
                foreach (int key in InfoSeriors.Keys)
                {
                    if (InfoSeriors[key] != 4)
                    {
                        isOpen = true;
                    }
                }
            }
            if (!isOpen && PlayerDatas.Instance.baseData.LV >= 300)
            {
                SysNotifyMgr.Instance.ShowTip("JadeInvestmentLimit3");//信息提示
                return;
            }
        }
    }
}