少年修仙传客户端代码仓库
client_Zxw
2018-09-04 8505fdcc92577a9c13d6086729c81b23c57b75ee
3240 前端 主界面任务显示和自动选中逻辑修改
1个文件已修改
18 ■■■■ 已修改文件
System/MainInterfacePanel/TaskListTip.cs 18 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/MainInterfacePanel/TaskListTip.cs
@@ -200,7 +200,7 @@
        {
            TaskScheduling();    
            TheTaskToGenerate();
            TaskJump(_id);
            TaskJump();
        }
        private void SetLength()
@@ -422,22 +422,12 @@
            return mapConfig != null && mapConfig.MapFBType != 0;
        }
        private void TaskJump(int TaskID=0)
        private void TaskJump()
        {
            int type = 0;
            if (TaskID == 0)
            if (_list.Contains(taskmodel.TaskupToDate))
            {
                if (_list.Contains(taskmodel.TaskupToDate))
                {
                    type = _list.IndexOf(taskmodel.TaskupToDate);
                }
            }
            else
            {
                if (_list.Contains(TaskID))
                {
                    type = _list.IndexOf(TaskID);
                }
                type = _list.IndexOf(taskmodel.TaskupToDate);
            }
            if (_list.Count <= 2 || type <= 0)
            {