소스 검색

新年红包和新年签到刷新提交

huangxiaoyue 1 년 전
부모
커밋
c10927c0b8
2개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      GameClient/Assets/Game/HotUpdate/Data/ActivityDataManager.cs
  2. 1 0
      GameClient/Assets/Game/HotUpdate/ServerProxy/CommonSProxy.cs

+ 2 - 0
GameClient/Assets/Game/HotUpdate/Data/ActivityDataManager.cs

@@ -18,6 +18,8 @@ namespace GFGGame
             limitStlycActBonusState.Clear();
             allLimitStlycTimes = 0;
             lastActLimitStlycId = 0;
+
+            NewYearLoginInfoDic.Clear();
         }
 
         /**********************************************************活动*************************************************/

+ 1 - 0
GameClient/Assets/Game/HotUpdate/ServerProxy/CommonSProxy.cs

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