| 12345678910111213141516171819202122 | 
							- using ET;
 
- using System.Collections;
 
- using UnityEngine;
 
- namespace GFGGame
 
- {
 
-     public class ActivityFYJYProxy
 
-     {
 
-         public static async ETTask<bool> ReqGetActivityGameInfos()
 
-         {
 
-             int activityId = ActivityDataManager.Instance.GetCurOpenActiveByType(ActivityType.AfternoonLeisure);
 
-             if (activityId <= 0)
 
-                 return false;
 
-             var response = (S2C_GetActivityGameInfos)await MessageHelper.SendToServer(new C2S_GetActivityGameInfos { ActivityId = activityId });
 
-             if (!(response is { Error: ErrorCode.ERR_Success })) return false;
 
-             
 
-             return true;
 
-         }
 
-     }
 
- }
 
 
  |