少年修仙传客户端代码仓库
hch
1 天以前 683193285a5cbfe63adc83e441ec5971941cf73c
10352 【BT】免费买断版本 - 领取刷新问题
2个文件已修改
11 ■■■■ 已修改文件
LogicProject/System/OpenServerActivity/InvestModel.cs 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Vip/VipInvest/ForeverCardWin.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
LogicProject/System/OpenServerActivity/InvestModel.cs
@@ -140,7 +140,7 @@
    {
        if (GetSingleInvestState(foreverCardType, GetIdsByType(foreverCardType)[0]) == 0 && vipModel.realRecharge >= rechargeSumDict[foreverCardType])
        {
            WindowCenter.Instance.Open<ForeverCardWin>();
            PopupWindowsProcessor.Instance.Add("ForeverCardWin");
        }
        UpdateRedpoint();
@@ -176,14 +176,14 @@
        rechargeSumDict = ConfigParse.ParseIntDict(funcConfig.Numerical4);
        investTypes = m_InvestRechargeIds.Keys.ToList();
        investTypes.Add(foreverCardType);
        investTypes.Sort();
        var configs = InvestConfig.GetValues();
        for (int i = 0; i < configs.Count; i++)
        {
            var config = configs[i];
            if (!investTypes.Contains(config.type) && config.type != foreverCardType)
            if (!investTypes.Contains(config.type))
            {
                continue;
            }
@@ -460,7 +460,8 @@
            && !WindowCenter.Instance.ExistAnyFullScreenOrMaskWin() && !StageLoad.Instance.isLoading
            && !ModelCenter.Instance.GetModel<TreasureModel>().newGotShowing)
        {
            WindowCenter.Instance.Open<ForeverCardWin>();
            //WindowCenter.Instance.Open<ForeverCardWin>();
            PopupWindowsProcessor.Instance.Add("ForeverCardWin");
            openState = openState | (int)Math.Pow(2, type);
            LocalSave.SetInt("ForeverCard" + PlayerDatas.Instance.baseData.PlayerID, openState);
        }
System/Vip/VipInvest/ForeverCardWin.cs
@@ -76,7 +76,7 @@
            m_State.SetActive(state == 3);
            int needMoney = InvestModel.Instance.rechargeSumDict[InvestModel.foreverCardType] / 10000;
            m_Price.text = Language.Get("ForeverCard6", needMoney);
            m_Process.text = Language.Get("ForeverCard7", vipModel.realRecharge, needMoney);
            m_Process.text = Language.Get("ForeverCard7", vipModel.realRecharge / 10000, needMoney);
            for (int i = 0; i < itemCellList.Count; i++)
            {