少年修仙传客户端代码仓库
client_linchunjie
2018-10-09 49a42c9c44dc80e4378c0129179c706bd2d9ef2b
System/Treasure/TreasureModel.cs
@@ -45,6 +45,7 @@
        public event Action<int> treasureLevelProgressUpdateEvent;
        public event Action<int> treasureStageUpEvent;
        public event Action<int> humanTreasureStateChangeEvent;
        public event Action skillLevelUpRedpointUpdate;
        bool m_WaitOpenDetailsWin = false;
        public bool waitOpenDetailsWin {
@@ -842,6 +843,10 @@
                            {
                                treasure.skillLevelUpRedpoint.state = RedPointState.Simple;
                                treasure.autoSelectPotential = k;
                                if (skillLevelUpRedpointUpdate != null)
                                {
                                    skillLevelUpRedpointUpdate();
                                }
                                return;
                            }
                        }
@@ -897,6 +902,10 @@
                    treasures[minCostTreasure].autoSelectPotential = minCostPotentialIndex;
                }
            }
            if (skillLevelUpRedpointUpdate != null)
            {
                skillLevelUpRedpointUpdate();
            }
        }
        public int GetSkillLevelUpRedpointTreasure()