少年修仙传客户端代码仓库
client_Hale
2019-01-16 48bbaa6f98423946430d4e07f5b0c02430a56ba4
System/MainInterfacePanel/TaskListTip.cs
@@ -204,7 +204,6 @@
                }
            }
            SetLength();
            for (int i = 0; i < _list.Count; i++)
            {
                if (i >= Content.childCount)
@@ -226,23 +225,6 @@
            {
                return;
            }
            //var inDungeon = IsDungeon();
            //TaskScheduling();
            //if (WindowCenter.Instance.IsOpen<MainInterfaceWin>() && !inDungeon)
            //{
            //    if (MissionState != 0 && MissionID != 1 && _list.Contains(MissionID))
            //    {
            //        Selected();//选中逻辑
            //        TaskAddAndDelete(MissionID);
            //        if (NewBieCenter.Instance.inGuiding || ModelCenter.Instance.GetModel<TreasureModel>().newGotShowing)
            //        {
            //            return;
            //        }
            //        TaskJump(MissionID);
            //        return;
            //    }
            //}
            if (Parent.gameObject.activeInHierarchy)
            {
                StartCoroutine(WaitAddTask(MissionID, MissionState));
@@ -307,6 +289,19 @@
                return;
            }
            TaskScheduling();
            bool _isBool = false;
            for (int i = 0; i < _list.Count; i++)
            {
                if (taskmodel.SideQuestState(_list[i]) == 2)
                {
                    _isBool = true;
                }
            }
            if (_isBool)
            {
                TheTaskToGenerate();
                return;
            }
            for (int i = 0; i < _list.Count; i++)
            {
                if (i <= Content.childCount - 1)