瀏覽代碼

Merge branch 'master' of http://192.168.2.10:3000/GFG/Client into yuqian

zhangyuqian 1 年之前
父節點
當前提交
1b9a4577b3

+ 9 - 1
GameClient/Assets/Game/HotUpdate/ServerProxy/TimeTracingSProxy.cs

@@ -187,7 +187,15 @@ namespace GFGGame
             {
                 if(response.AllKs[i] == 6200123)
                 {
-                    TimeTracingDataManager.SuitID = (int)response.AllVs[i]; 
+                    TimeTracingDataManager.SuitID = (int)response.AllVs[i];
+                    List<ActivityOpenCfg> activityCfgList = ActivityOpenCfgArray.Instance.GetCfgsBytype(21);
+                    foreach(var item in activityCfgList)
+                    {
+                        if(item.paramsArr[0] == (int)response.AllVs[i])
+                        {
+                            TimeTracingDataManager._currentChapterId = item.params3Arr[0];
+                        }
+                    }
                     return true;
                 }
             }

+ 3 - 1
GameClient/Assets/Game/HotUpdate/Views/Studio/StudioActivityView.cs

@@ -116,10 +116,12 @@ namespace GFGGame
             {
                 item.m_loaItem.visible = false;
                 item.m_loaIcon.visible = true;
+                item.m_flow.visible = false;
                 item.m_loaIcon.url = string.Format("ui://Studio/{0}", _studioCfg.res);
             }
             item.m_grpLock.visible = index > 0 && !InstanceZonesDataManager.CheckLevelPass(_storyLevelCfgs[index - 1].id);
-            item.m_comFlower.m_c1.selectedIndex = InstanceZonesDataManager.GetStarCountHistory(_storyLevelCfgs[index].id);
+            item.m_comFlower.target.visible = false;//.m_c1.selectedIndex = InstanceZonesDataManager.GetStarCountHistory(_storyLevelCfgs[index].id);
+            item.m_c2.selectedIndex = InstanceZonesDataManager.GetStarCountHistory(_storyLevelCfgs[index].id);
             if (item.m_loaBg.data == null)
             {
                 item.m_loaBg.onClick.Add(OnListItemClick);