少年修仙传客户端代码仓库
lcy
2025-02-19 48e86d8dea06adf1746eed16cb85fccac2052d05
10384 福地鼠管默认勾选等级开配置
1个文件已修改
7 ■■■■ 已修改文件
System/BlessedLand/BlessedLandManageMouseModel.cs 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/BlessedLand/BlessedLandManageMouseModel.cs
@@ -13,6 +13,7 @@
        public int[][] butlerCTGArr;           //管家档位购买对应充值ID列表 [[付费档1充值ID, ...], ...]
        public Dictionary<int, string> orgPriceDict = new Dictionary<int, string>();           //管家档位购买充值ID对应的折扣前金额,没配置的不显示
        public int timeS;                      //间隔x秒触发自动采集
        public int defaultLv;                   //默认勾选x级物品
        bool isLoginOk = false;
        bool isStart = false;
@@ -47,6 +48,7 @@
            {
                orgPriceDict.Add(int.Parse(keyList[i]), jsonData[keyList[i]].ToJson());
            }
            defaultLv = int.Parse(FuncConfigConfig.Get("MineAreaHousekeeper1").Numerical1);
            GlobalTimeEvent.Instance.secondEvent += OnSecondEvent;
            TimeMgr.Instance.OnDayEvent += OnDayEvent;
        }
@@ -139,7 +141,10 @@
                    bool isLock = lv < limitLV;
                    if (isLock)
                        continue;
                    nowChooseDict[itemId] = itemLv;
                    //福地物品表没这项
                    if (!MineAreaItemConfig.TryGetMineID(itemId, defaultLv, out int mineId1))
                        continue;
                    nowChooseDict[itemId] = defaultLv;
                }
            }