| 
					
				 | 
			
			
				@@ -1,6 +1,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 using UI.CommonGame; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 using System.Collections.Generic; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 using FairyGUI; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+using System; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -89,8 +90,9 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 else if (levelCfg.type == ConstInstanceZonesType.Studio) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     var studioCfg = StudioCfgArray.Instance.GetCfg(levelCfg.chapterId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    listItem.target.text = studioCfg.name; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    listItem.target.text = levelCfg.name; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             else 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -120,13 +122,19 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     string value = infos[1]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     var levelCfgId = int.Parse(value); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     var levelCfg = StoryLevelCfgArray.Instance.GetCfg(levelCfgId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    if (!MainStoryDataManager.CheckLevelUnlock(levelCfgId)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        PromptController.Instance.ShowFloatTextPrompt("关卡未开启"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        break; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     if (levelCfg.type == ConstInstanceZonesType.Story) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        if (!FunctionOpenDataManager.Instance.CheckIsFunOpenById(ViewName.STORY_CHAPTER_VIEW)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            break; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        if (!MainStoryDataManager.CheckLevelUnlock(levelCfgId)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            PromptController.Instance.ShowFloatTextPrompt("关卡未开启"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            break; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         if ((string)_fromeViewDatas[0] == ViewName.DRESS_UP_FIGHT_VIEW) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             //从战斗换装必需品来源跳转到剧情界面,在剧情界面点返回后直接返回章节界面,无需返回换装界面 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -136,7 +144,25 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     else if (levelCfg.type == ConstInstanceZonesType.Studio) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        StudioCfg studioCfg = StudioCfgArray.Instance.GetCfg(levelCfg.chapterId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        if (!FunctionOpenDataManager.Instance.CheckIsFunOpenById(studioCfg.funId)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            break; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         //TO DO 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        List<StoryLevelCfg> storyLevelCfgs = StoryLevelCfgArray.Instance.GetCfgs(studioCfg.type, studioCfg.subType, studioCfg.id); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        StudioDataManager.Instance.IsCanFight(levelCfg.id, out bool canFight, out string content); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        if (!canFight) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            PromptController.Instance.ShowFloatTextPrompt("关卡未开启"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            break; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        this.Hide(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        int type = studioCfg.name == typeof(StudioPropertyView).Name ? 1 : 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        string viewName = "GFGGame." + studioCfg.funId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        ViewManager.Show(viewName, new object[] { type, 0 }, _fromeViewDatas); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     StoryController.ShowLevelView(levelCfgId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     break; 
			 |