少年修仙传客户端代码仓库
lcy
2024-12-18 d4701ee5641c478b421251cd7f4bbcf090a85c79
10327 成就优化 轮回殿在开新的轮回时重置掉旧的数据
2个文件已修改
8 ■■■■■ 已修改文件
System/LoopAct/CycleHall/CycleHallActModel.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/LoopAct/CycleHall/OperationCycleHall.cs 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/LoopAct/CycleHall/CycleHallActModel.cs
@@ -55,10 +55,10 @@
        public Dictionary<int, int> funcIdDict = new Dictionary<int, int>();
        // <轮回类型,上次的 CurRound>
        private Dictionary<int, int> lastCurRoundDict = new Dictionary<int, int>();
        public Dictionary<int, int> lastCurRoundDict = new Dictionary<int, int>();
        // <轮回类型,上次的 CurValue>
        private Dictionary<int, int> lastCurValueDict = new Dictionary<int, int>();
        public Dictionary<int, int> lastCurValueDict = new Dictionary<int, int>();
        public const int activityType = (int)OpenServerActivityCenter.ActivityType.AT_Activity2;
        public const int activityID = (int)NewDayActivityID.CycleHallAct;
System/LoopAct/CycleHall/OperationCycleHall.cs
@@ -7,7 +7,7 @@
    {
        // <轮回类型, HAA88_tagMCActLunhuidianInfo.tagMCActLunhuidianRound>
        public Dictionary<int, HAA88_tagMCActLunhuidianInfo.tagMCActLunhuidianRound> roundInfoDict = new Dictionary<int, HAA88_tagMCActLunhuidianInfo.tagMCActLunhuidianRound>();
        CycleHallActModel model { get { return ModelCenter.Instance.GetModel<CycleHallActModel>(); } }
        public bool TryGetRound(int roundType, out HAA88_tagMCActLunhuidianInfo.tagMCActLunhuidianRound round)
        {
            return roundInfoDict.TryGetValue(roundType, out round);
@@ -69,6 +69,8 @@
        {
            base.Reset();
            roundInfoDict.Clear();
            model.lastCurRoundDict.Clear();
            model.lastCurValueDict.Clear();
        }
        public void ParseCycleHallInfo(HAA88_tagMCActLunhuidianInfo package)