Эх сурвалжийг харах

飞花令进入时添加请求刷新

zhangyuqian 1 жил өмнө
parent
commit
dede164ac0

+ 2 - 1
GameClient/Assets/Game/HotUpdate/ServerProxy/ArenaSproxy.cs

@@ -244,7 +244,8 @@ namespace GFGGame
                         }
                     }
                     EventAgent.DispatchEvent(ConstMessage.ARENA_FIGHT_RESULT);
-                    PromptController.Instance.ShowFloatTextPrompt("对方排名已发生变化");
+                    //PromptController.Instance.ShowFloatTextPrompt("对方排名已发生变化");
+                    ErrorCodeController.Handler(response.Error);
                     return false;
                 }
                 else

+ 2 - 2
GameClient/Assets/Game/HotUpdate/Views/InstanceZones/InstanceZonesView.cs

@@ -149,7 +149,7 @@ namespace GFGGame
             ViewManager.Show<FieldView>();
         }
 
-        private void OnClickBtnArena()
+        private async void OnClickBtnArena()
         {
             if (!FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(ArenaView).Name))
             {
@@ -160,7 +160,7 @@ namespace GFGGame
                 PromptController.Instance.ShowFloatTextPrompt("赛季未开始");
                 return;
             }
-
+            await ArenaSproxy.ReqArenaInfos();
             ViewManager.Show<ArenaView>(this.viewData);
             ViewManager.Show<ArenaLoadingView>();
         }