少年修仙传客户端代码仓库
lcy
2024-11-12 424eaaa8c0f468a25a6bf5bbde644502da3a6cb6
10060 统一战令收益百分比来源为充值表Percentage
14个文件已修改
40 ■■■■■ 已修改文件
LogicProject/System/Recharge/CelestialStarTowerModel.cs 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
LogicProject/System/Recharge/CelestialStarTowerWin.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
LogicProject/System/Recharge/GuBaoTotalStarsModel.cs 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
LogicProject/System/Recharge/GuBaoTotalStarsWin.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
LogicProject/System/Recharge/LvZhanlingModel.cs 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
LogicProject/System/Recharge/LvZhanlingWin.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
LogicProject/System/Recharge/RealmLVZhanlingModel.cs 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
LogicProject/System/Recharge/RealmLVZhanlingWin.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/GeneralConfig/GeneralDefine.cs 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/ZhanLing/LoginZhanLingModel.cs 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/ZhanLingH/GatheringSoulZhanLingModel.cs 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/ZhanLingH/GuBaoCultivateZhanLingModel.cs 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/ZhanLingH/MountedPetZhanLingModel.cs 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/ZhanLingH/ZhanLingHBuyModel.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
LogicProject/System/Recharge/CelestialStarTowerModel.cs
@@ -8,8 +8,6 @@
public class CelestialStarTowerModel : ILModel<CelestialStarTowerModel>
{
    //收益百分比
    public string profitRatio;
    // 战令类型对应的充值ID列表 
    public Dictionary<int, int> ctgIdDict = new Dictionary<int, int>();
    //收到的所有服务器战令包字典
@@ -46,7 +44,6 @@
        ModelCenter.Instance.GetModel<SkyTowerModel>().OnChallengeState += OnFloorChange;
        FuncOpen.Instance.OnFuncStateChangeEvent += OnFunctionStateChange;
        ctgIdDict = GeneralDefine.OldZhanLingCtgIdDict;
        profitRatio = GeneralDefine.ZhanLingProfitRatio[2].ToString();
        typeToIDListDict = ILZhanlingConfig.GetAllTypeToIDListDict();
    }
LogicProject/System/Recharge/CelestialStarTowerWin.cs
@@ -50,7 +50,7 @@
        OrderInfoConfig orderCfg;
        vipModel.TryGetOrderInfo(CelestialStarTowerModel.Instance.ctgIdDict[3], out orderCfg);
        txtBuy.text = Language.Get("PayMoneyNum", orderCfg.PayRMBNum);
        txtProfitRatio.text = CelestialStarTowerModel.Instance.profitRatio;
        txtProfitRatio.text = Language.Get("BlessedLand039", CTGConfig.Get(CelestialStarTowerModel.Instance.ctgIdDict[3]).Percentage);
    }
    protected override void OnAfterOpen()
LogicProject/System/Recharge/GuBaoTotalStarsModel.cs
@@ -8,8 +8,6 @@
public class GuBaoTotalStarsModel : ILModel<GuBaoTotalStarsModel>
{
    //收益百分比
    public string profitRatio;
    // 战令类型对应的充值ID列表 
    public Dictionary<int, int> ctgIdDict = new Dictionary<int, int>();
    //收到的所有服务器战令包字典
@@ -49,7 +47,6 @@
        TreasurePavilionModel.Instance.UpdateGubaoEvent += OnUpdateGubaoEvent;
        FuncOpen.Instance.OnFuncStateChangeEvent += OnFunctionStateChange;
        ctgIdDict = GeneralDefine.OldZhanLingCtgIdDict;
        profitRatio = GeneralDefine.ZhanLingProfitRatio[3].ToString();
        typeToIDListDict = ILZhanlingConfig.GetAllTypeToIDListDict();
    }
LogicProject/System/Recharge/GuBaoTotalStarsWin.cs
@@ -51,7 +51,7 @@
        OrderInfoConfig orderCfg;
        vipModel.TryGetOrderInfo(GuBaoTotalStarsModel.Instance.ctgIdDict[4], out orderCfg);
        txtBuy.text = Language.Get("PayMoneyNum", orderCfg.PayRMBNum);
        txtProfitRatio.text = GuBaoTotalStarsModel.Instance.profitRatio;
        txtProfitRatio.text = Language.Get("BlessedLand039", CTGConfig.Get(GuBaoTotalStarsModel.Instance.ctgIdDict[4]).Percentage);
    }
LogicProject/System/Recharge/LvZhanlingModel.cs
@@ -33,8 +33,6 @@
public class LvZhanlingModel : ILModel<LvZhanlingModel>
{
    //收益百分比
    public string profitRatio;
    // 战令类型对应的充值ID列表 
    public Dictionary<int, int> ctgIdDict = new Dictionary<int, int>();
    //收到的所有服务器战令包字典
@@ -69,7 +67,6 @@
        PlayerDatas.Instance.playerDataRefreshEvent += OnplayerDataRefreshEvent;
        FuncOpen.Instance.OnFuncStateChangeEvent += OnFunctionStateChange;
        ctgIdDict = GeneralDefine.OldZhanLingCtgIdDict;
        profitRatio = GeneralDefine.ZhanLingProfitRatio[0].ToString();
        typeToIDListDict = ILZhanlingConfig.GetAllTypeToIDListDict();
    }
LogicProject/System/Recharge/LvZhanlingWin.cs
@@ -52,7 +52,7 @@
        OrderInfoConfig orderCfg;
        vipModel.TryGetOrderInfo(LvZhanlingModel.Instance.ctgIdDict[1], out orderCfg);
        txtBuy.text = Language.Get("PayMoneyNum", orderCfg.PayRMBNum);
        txtProfitRatio.text = LvZhanlingModel.Instance.profitRatio;
        txtProfitRatio.text = Language.Get("BlessedLand039", CTGConfig.Get(LvZhanlingModel.Instance.ctgIdDict[1]).Percentage);
    }
    protected override void OnAfterOpen()
LogicProject/System/Recharge/RealmLVZhanlingModel.cs
@@ -7,8 +7,6 @@
public class RealmLVZhanlingModel : ILModel<RealmLVZhanlingModel>
{
    //收益百分比
    public string profitRatio;
    // 战令类型对应的充值ID列表 
    public Dictionary<int, int> ctgIdDict = new Dictionary<int, int>();
    //收到的所有服务器战令包字典
@@ -43,7 +41,6 @@
        PlayerDatas.Instance.playerDataRefreshEvent += OnplayerDataRefreshEvent;
        FuncOpen.Instance.OnFuncStateChangeEvent += OnFunctionStateChange;
        ctgIdDict = GeneralDefine.OldZhanLingCtgIdDict;
        profitRatio = GeneralDefine.ZhanLingProfitRatio[1].ToString();
        typeToIDListDict = ILZhanlingConfig.GetAllTypeToIDListDict();
    }
LogicProject/System/Recharge/RealmLVZhanlingWin.cs
@@ -51,7 +51,7 @@
        OrderInfoConfig orderCfg;
        vipModel.TryGetOrderInfo(RealmLVZhanlingModel.Instance.ctgIdDict[2], out orderCfg);
        txtBuy.text = Language.Get("PayMoneyNum", orderCfg.PayRMBNum);
        txtProfitRatio.text = RealmLVZhanlingModel.Instance.profitRatio;
        txtProfitRatio.text = Language.Get("BlessedLand039", CTGConfig.Get(RealmLVZhanlingModel.Instance.ctgIdDict[2]).Percentage);
    }
    protected override void OnAfterOpen()
System/GeneralConfig/GeneralDefine.cs
@@ -237,7 +237,6 @@
    public static Dictionary<int, List<int>> ZhanLingCtgIdDict { get; private set; }
    public static Dictionary<int, List<int>> ZhanLingCtgIdHDict { get; private set; }
    public static Dictionary<int, int> OldZhanLingCtgIdDict { get; private set; }
    public static int[] ZhanLingProfitRatio { get; private set; }
    public static void Init()
    {
@@ -952,13 +951,12 @@
                }
                ZhanLingCtgIdHDict = new Dictionary<int, List<int>>();
                tempDict = JsonMapper.ToObject(func.Numerical3);
                tempDict = JsonMapper.ToObject(func.Numerical2);
                keyList = tempDict.Keys.ToList();
                for (int k = 0; k < keyList.Count; k++)
                {
                    ZhanLingCtgIdHDict[int.Parse(keyList[k])] = JsonMapper.ToObject<List<int>>(tempDict[keyList[k]].ToJson());
                }
                ZhanLingProfitRatio = JsonMapper.ToObject<int[]>(func.Numerical2);
            }
        }
System/ZhanLing/LoginZhanLingModel.cs
@@ -7,8 +7,7 @@
{
    public readonly int ZhanLingHType = 5;
    public readonly int FuncId = 233;
    //收益百分比
    public string profitRatio;
    // 高级战令类型对应的充值ID列表 
    public Dictionary<int, List<int>> ctgIdDictH = new Dictionary<int, List<int>>();
    public Dictionary<int, List<int>> ctgIdDict = new Dictionary<int, List<int>>();
@@ -46,7 +45,6 @@
        TimeMgr.Instance.OnDayEvent += OnDay;
        ctgIdDict = GeneralDefine.ZhanLingCtgIdDict;
        ctgIdDictH = GeneralDefine.ZhanLingCtgIdHDict;
        profitRatio = GeneralDefine.ZhanLingProfitRatio[Math.Max(ZhanLingHType - 1, 0)].ToString();
    }
    public void OnBeforePlayerDataInitialize()
System/ZhanLingH/GatheringSoulZhanLingModel.cs
@@ -9,8 +9,7 @@
{
    public const int ZhanLingHType = 6;
    public const int FuncId = 155;
    //收益百分比
    public string profitRatio;
    // 高级战令类型对应的充值ID列表 
    public Dictionary<int, List<int>> ctgIdDictH = new Dictionary<int, List<int>>();
    //
@@ -54,7 +53,6 @@
        model.UpdateSoulInfos += UpdateSoulInfo;
        ctgIdDict = GeneralDefine.ZhanLingCtgIdDict;
        ctgIdDictH = GeneralDefine.ZhanLingCtgIdHDict;
        profitRatio = GeneralDefine.ZhanLingProfitRatio[Math.Max(ZhanLingHType - 1, 0)].ToString();
    }
    public void OnBeforePlayerDataInitialize()
System/ZhanLingH/GuBaoCultivateZhanLingModel.cs
@@ -7,8 +7,6 @@
public class GuBaoCultivateZhanLingModel : Model, IBeforePlayerDataInitialize
{
    public readonly int ZhanLingHType = 8;
    //收益百分比
    public string profitRatio;
    // 高级战令类型对应的充值ID列表 
    public Dictionary<int, List<int>> ctgIdDictH = new Dictionary<int, List<int>>();
    public Dictionary<int, List<int>> ctgIdDict = new Dictionary<int, List<int>>();
@@ -44,7 +42,6 @@
        treasurePavilionRankActModel.OnPlayerInfo += OnPlayerInfoEvent;
        ctgIdDict = GeneralDefine.ZhanLingCtgIdDict;
        ctgIdDictH = GeneralDefine.ZhanLingCtgIdHDict;
        profitRatio = GeneralDefine.ZhanLingProfitRatio[Math.Max(ZhanLingHType - 1, 0)].ToString();
    }
    public void OnBeforePlayerDataInitialize()
System/ZhanLingH/MountedPetZhanLingModel.cs
@@ -7,8 +7,6 @@
public class MountedPetZhanLingModel : Model, IBeforePlayerDataInitialize
{
    public readonly int ZhanLingHType = 7;
    //收益百分比
    public string profitRatio;
    // 高级战令类型对应的充值ID列表 
    public Dictionary<int, List<int>> ctgIdDictH = new Dictionary<int, List<int>>();
    public Dictionary<int, List<int>> ctgIdDict = new Dictionary<int, List<int>>();
@@ -45,7 +43,6 @@
        petHorseActModel.OnPlayerInfo += OnPlayerInfoEvent;
        ctgIdDict = GeneralDefine.ZhanLingCtgIdDict;
        ctgIdDictH = GeneralDefine.ZhanLingCtgIdHDict;
        profitRatio = GeneralDefine.ZhanLingProfitRatio[Math.Max(ZhanLingHType - 1, 0)].ToString();
    }
    public void OnBeforePlayerDataInitialize()
System/ZhanLingH/ZhanLingHBuyModel.cs
@@ -9,7 +9,6 @@
    public int showGiftType;        //1 普通战令礼包 2 高级战令礼包
    public string bgIconkey;        //背景在Icon表中的KEY
    public string profitRatio;
    public Dictionary<int, List<int>> ctgIdDictH = new Dictionary<int, List<int>>();
    public Dictionary<int, List<int>> ctgIdDict = new Dictionary<int, List<int>>();
    VipModel vipModel { get { return ModelCenter.Instance.GetModel<VipModel>(); } }
@@ -19,7 +18,6 @@
    {
        ctgIdDict = GeneralDefine.ZhanLingCtgIdDict;
        ctgIdDictH = GeneralDefine.ZhanLingCtgIdHDict;
        profitRatio = GeneralDefine.ZhanLingProfitRatio[Math.Max(zhanLingType - 1, 0)].ToString();
    }
    public override void UnInit()