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

修改元宵活动部分提示
修改元宵活动开启协议

leiyasi 1 жил өмнө
parent
commit
7ff199f06f

+ 2 - 2
GameClient/Assets/Game/HotUpdate/ServerProxy/CommonSProxy.cs

@@ -65,8 +65,8 @@ namespace GFGGame
                     await ActivityTeaSProxy.ReqGetNPCVisitInfo();
                     await MiniGameProxy.ReqGetChallengeReward();
                     ActivitySProxy.ReqGetActivitySignInfos().Coroutine();
-                    NewYearRedEnvelopeSProxy.ReqGetRedPacketInfo().Coroutine();
-                    ActivityGetYuanXiaoProxy.ReqGetActivityGameInfos().Coroutine();
+                    await NewYearRedEnvelopeSProxy.ReqGetRedPacketInfo();
+                    await ActivityGetYuanXiaoProxy.ReqGetActivityGameInfos();
                     ActivityDataManager.Instance.todayActivityTips = GameGlobal.myNumericComponent.GetAsInt(NumericType.IsPropYchmActivity);
                     ActivityDataManager.Instance.todayMonthlyCardTips = GameGlobal.myNumericComponent.GetAsInt(NumericType.IsPropCzykActivity);
                     EventAgent.DispatchEvent(ConstMessage.RESET_DAILY_DATA);

+ 7 - 1
GameClient/Assets/Game/HotUpdate/Views/ActivityGetYuanXiao/ActivityGetYuanXiaoEntryView.cs

@@ -126,7 +126,7 @@ namespace GFGGame
         {
             if (_ui.m_list.selectedIndex > _curLevel)
             {
-                PromptController.Instance.ShowFloatTextPrompt("关卡未解锁");
+                PromptController.Instance.ShowFloatTextPrompt("请先通关前置关卡");
                 return;
             }
             if (_ui.m_list.selectedIndex < _curLevel)
@@ -135,6 +135,12 @@ namespace GFGGame
                 return;
             }
 
+            if (ActivityGetYuanXiaoDataManager.Instance.HaveNewLevelCanPlay() == false)
+            {
+                PromptController.Instance.ShowFloatTextPrompt("消耗不足");
+                return;
+            }
+
             PickUpGame cfg = PickUpGameArray.Instance.dataArray[_ui.m_list.selectedIndex];
             ViewManager.Show<ActivityGetYuanXiaoTargetView>(cfg);
         }

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Views/ActivityGetYuanXiao/ActivityGetYuanXiaoView.cs

@@ -441,7 +441,7 @@ namespace GFGGame
             PauseGame();
 
             AlertMiniGame alertInfo = new AlertMiniGame();
-            alertInfo.desc = "确认是否退出游戏?退出游戏直接按失败结算";
+            alertInfo.desc = "退出游戏不保存进度,不扣除任何次数和道具,是否退出?";
             alertInfo.btnConfirmClickAction = () =>
             {
                 Hide();