/// <summary> /// 更新特定任务item的info /// </summary> /// <param name="taskType"></param> void UpdateQuestTraceItemInfoByType(GameCmd.TaskType taskType) { //悬赏任务更新当前显示环数 List <QuestTraceInfo> traceTask; DataManager.Manager <TaskDataManager>().GetAllQuestTraceInfo(out traceTask, null); if (traceTask != null) { QuestTraceInfo questTraceInfo = traceTask.Find((d) => { return(d.taskType == taskType); }); if (questTraceInfo == null) { return; } questTraceInfo.FormatXmlName(); if (DataManager.Manager <UIPanelManager>().IsShowPanel(PanelID.MissionAndTeamPanel)) { DataManager.Manager <UIPanelManager>().SendMsg(PanelID.MissionAndTeamPanel, UIMsgID.eUpdateTaskList, null); } } }