فهرست منبع

任务跳转章节

zhaoyang 2 سال پیش
والد
کامیت
8b14622abc
1فایلهای تغییر یافته به همراه6 افزوده شده و 3 حذف شده
  1. 6 3
      GameClient/Assets/Game/HotUpdate/Data/TaskDataManager.cs

+ 6 - 3
GameClient/Assets/Game/HotUpdate/Data/TaskDataManager.cs

@@ -178,9 +178,9 @@ namespace GFGGame
                     return string.Format(activeRewardCfg.desc, taskCfg.paramsArr[0], taskCfg.paramsArr[1]);
                 case ConstTaskType.FinishStory:
                 case ConstTaskType.FinishInstanceZones:
-                {
-                    return string.Format(activeRewardCfg.desc, taskCfg.paramsArr[0]);
-                }
+                    {
+                        return string.Format(activeRewardCfg.desc, taskCfg.paramsArr[0]);
+                    }
                 default: return string.Format(activeRewardCfg.desc, taskCfg.GetTargetCount());
             }
         }
@@ -235,6 +235,9 @@ namespace GFGGame
                 case nameof(StoryChapterListView):
                     ViewManager.Show($"GFGGame.{jumpId}", param, goBackDatas, true, true);
                     break;
+                case nameof(StoryChapterView):
+                    ViewManager.Show<StoryChapterView>(param[0], goBackDatas, true);
+                    break;
                 default:
                     ViewManager.Show($"GFGGame.{jumpId}", null, goBackDatas, true, true);
                     break;