浏览代码

茶话会请求个人数据修改,剧情修改

huangxiaoyue 1 年之前
父节点
当前提交
701adb0f08

+ 9 - 9
GameClient/Assets/Game/HotUpdate/Views/League/LeagueTeaPartyView.cs

@@ -83,7 +83,7 @@ namespace GFGGame
             _ui.m_btnChallenge.visible = isLeader;
 
             GetRoleContainerInfos();
-            GetTeapartyMatchingInfos();
+            //GetTeapartyMatchingInfos();
         }
 
         private void UpDataOverTime()
@@ -101,14 +101,14 @@ namespace GFGGame
             }
         }
 
-        private async void GetTeapartyMatchingInfos()
-        {
-            bool result = await LeagueSproxy.GetTeapartyMatchingInfos(RoleDataManager.roleId);
-            if (result)
-            {
-                _ui.m_ListTeaParty.numItems = 6;
-            }
-        }
+        //private async void GetTeapartyMatchingInfos()
+        //{
+        //    bool result = await LeagueSproxy.GetTeapartyMatchingInfos(RoleDataManager.roleId);
+        //    if (result)
+        //    {
+        //        _ui.m_ListTeaParty.numItems = 6;
+        //    }
+        //}
         
         protected override void OnHide()
         {

+ 10 - 0
GameClient/Assets/Game/HotUpdate/Views/League/LeagueView.cs

@@ -63,6 +63,7 @@ namespace GFGGame
             UpdateTeaPartyShowText();
             ChatSProxy.ReqQueryChatMsg(ChatType.League).Coroutine();
             ChatSProxy.ReqQueryChatMsg(ChatType.LeagueQuestion).Coroutine();
+            GetTeapartyMatchingInfos();
         }
 
         protected override void OnHide()
@@ -221,5 +222,14 @@ namespace GFGGame
             RedDotController.Instance.SetComRedDot(_ui.m_btnGift.target, RedDotDataManager.Instance.GetLeagueGiftBoxRed(), "", -120, 100);
             RedDotController.Instance.SetComRedDot(_ui.m_btnPray.target, RedDotDataManager.Instance.GetLeaguePrayRed(), "", -70, 60);
         }
+
+        private async void GetTeapartyMatchingInfos()
+        {
+            bool result = await LeagueSproxy.GetTeapartyMatchingInfos(RoleDataManager.roleId);
+            if (result)
+            {
+
+            }
+        }
     }
 }

+ 6 - 1
GameClient/Assets/Game/HotUpdate/Views/MainStory/StoryDialogView.cs

@@ -144,6 +144,7 @@ namespace GFGGame
 
             _ui.m_c1.selectedIndex = 0;
             _ui.m_btnAutoPlay.selected = false;
+
             if (_storyStartID == MainStoryDataManager.priorId)
             {
                 _ui.m_c1.selectedIndex = 1;
@@ -153,8 +154,12 @@ namespace GFGGame
                 FightDataManager.Instance.dialogSpeed = _speedAutoPlay;
             }
 
-            if(IsTeaParty)
+            if (IsTeaParty) { 
                 _ui.m_c1.selectedIndex = 2;
+                OnClickBtnAutoPlay();
+                _speedAutoPlay = 1;
+                FightDataManager.Instance.dialogSpeed = _speedAutoPlay;
+            }
 
             _ui.m_btnBack.visible = InstanceZonesDataManager.CheckLevelPass(100001001);
             

二进制
GameClient/Assets/ResIn/UI/Main/Main_fui.bytes