소스 검색

Merge remote-tracking branch 'remotes/origin/master' into xiaojie

hexiaojie 1 년 전
부모
커밋
10dddecd6c
2개의 변경된 파일13개의 추가작업 그리고 1개의 파일을 삭제
  1. 5 0
      GameClient/Assets/Game/HotUpdate/Data/StudioDataManager.cs
  2. 8 1
      GameClient/Assets/Game/HotUpdate/Views/DressUp/DressUpFightView.cs

+ 5 - 0
GameClient/Assets/Game/HotUpdate/Data/StudioDataManager.cs

@@ -180,5 +180,10 @@ namespace GFGGame
         }
 
 
+        public bool IsluckyBoxFilingChapter()
+        {
+            return filingChapterId == luckyBoxFilingChapterId;
+        }
+
     }
 }

+ 8 - 1
GameClient/Assets/Game/HotUpdate/Views/DressUp/DressUpFightView.cs

@@ -314,7 +314,14 @@ namespace GFGGame
             }
             else if (_levelCfg.type == ConstInstanceZonesType.Studio && _levelCfg.subType == ConstInstanceZonesSubType.Hard3)
             {
-                ViewManager.Show<StudioFilingView>(null, ViewManager.GetGoBackDatas(typeof(StudioFilingView).FullName));
+                if (StudioDataManager.Instance.IsluckyBoxFilingChapter())
+                {
+                    ViewManager.Show<StudioFilingView>(StudioDataManager.Instance.luckyBoxFilingChapterId, ViewManager.GetGoBackDatas(typeof(StudioFilingView).FullName));
+                }
+                else
+                {
+                    ViewManager.Show<StudioFilingView>(null, ViewManager.GetGoBackDatas(typeof(StudioFilingView).FullName));
+                }
             }
             else if (_levelCfg.type == ConstInstanceZonesType.Field)
             {