少年修仙传客户端代码仓库
client_Zxw
2018-09-04 eed44c4e855611e2ca9bcb94c040b4eaa6266939
3240 前端 主界面任务显示和自动选中逻辑修改
2个文件已修改
12 ■■■■■ 已修改文件
System/MainInterfacePanel/PlayerTaskDatas.cs 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/MainInterfacePanel/TaskListTip.cs 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/MainInterfacePanel/PlayerTaskDatas.cs
@@ -128,6 +128,8 @@
    private float BossDelayTimeint = 0;
    private List<int> FaBaoNPCIdList = new List<int>();//用于获取需要消失的法宝NPCID;
    public Vector3 UIeffectFabaoVec = new Vector3();//法宝NPC消失时获取的坐标
    PlayerPackModel _playerPack;
    PlayerPackModel playerPack
    {
@@ -207,6 +209,10 @@
    {
        try
        {
            if (AutomaticityBool)
            {
                TaskupToDate = MissionID;
            }
            var pytaskM = Config.Instance.Get<PyTaskConfig>(MissionID);
            if (pytaskM == null)
            {
@@ -1505,6 +1511,7 @@
        }
    }
    //--------主要用于记录任务列表选中条的智能性 (-_-||)
    public int TaskupToDate = 0;//获取最新任务ID
    public int GetOnTaskId = 0;
    public bool IsGetOnBool = false;
    private  int NeedTime = 10;
System/MainInterfacePanel/TaskListTip.cs
@@ -427,7 +427,10 @@
            int type = 0;
            if (TaskID == 0)
            {
                type= _list.IndexOf(taskmodel.GetNowTaskID);
                if (_list.Contains(taskmodel.TaskupToDate))
                {
                    type = _list.IndexOf(taskmodel.TaskupToDate);
                }
            }
            else
            {