少年修仙传客户端代码仓库
client_Zxw
2018-09-05 d09a4d4587e6658f124d2f3ffc5b9bd3e53d9685
3240 前端 主界面任务显示和自动选中逻辑修改
2个文件已修改
24 ■■■■■ 已修改文件
System/MainInterfacePanel/PlayerTaskDatas.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/MainInterfacePanel/TaskListTip.cs 22 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/MainInterfacePanel/PlayerTaskDatas.cs
@@ -274,7 +274,7 @@
        }
        catch (Exception ex)
        {
            DebugEx.Log(ex);
            DebugEx.Log(ex.StackTrace);
        }
    }
System/MainInterfacePanel/TaskListTip.cs
@@ -307,19 +307,23 @@
            TaskScheduling();
            for (int i = 0; i < _list.Count; i++)
            {
                GameObject childObj = Content.GetChild(i).gameObject;
                TaskType childObjTaskType = Content.GetChild(i).gameObject.GetComponent<TaskType>();
                if (childObj.activeSelf && childObjTaskType.TaskID == MissionID)
                if (i <= Content.childCount-1)
                {
                    if (childObjTaskType.m_TypeBool)
                    GameObject childObj = Content.GetChild(i).gameObject;
                    TaskType childObjTaskType = Content.GetChild(i).gameObject.GetComponent<TaskType>();
                    if (childObj.activeSelf && childObjTaskType.TaskID == MissionID)
                    {
                        childObj.GetComponent<StoryMissions>().FlyingShoes_Task(MissionID);
                    }
                    else
                    {
                        childObj.GetComponent<FlyingShoesTask>().FlyingShoes_Task(MissionID);
                        if (childObjTaskType.m_TypeBool)
                        {
                            childObj.GetComponent<StoryMissions>().FlyingShoes_Task(MissionID);
                        }
                        else
                        {
                            childObj.GetComponent<FlyingShoesTask>().FlyingShoes_Task(MissionID);
                        }
                    }
                }
            }
            SetLength();
            TaskJump();