浏览代码

茶话会剧情id读取配表

huangxiaoyue 1 年之前
父节点
当前提交
03ecd900ca
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      GameClient/Assets/Game/HotUpdate/Views/League/LeagueTeaPartyShowView.cs

+ 2 - 1
GameClient/Assets/Game/HotUpdate/Views/League/LeagueTeaPartyShowView.cs

@@ -92,7 +92,8 @@ namespace GFGGame
 
         private void openNextView()
         {
-            string stroyStartID = "50001";
+            var openCfg = TeapartyOpenCfgArray.Instance.GetCfg(LeagueDataManager.Instance.TeaPartyId);
+            string stroyStartID = openCfg.storyId.ToString();
             ViewManager.Show<StoryDialogView>(new object[] { stroyStartID, false, new OnCompleteStoryDialogCall(OnCompletePriorStoryDialog), null, true }, null, true);
         }