using ET; namespace GFGGame { public class MatchingCompetitionSproxy { //获取搭配评选赛搭配数据,道具数据,人物位置数据 public static async ETTask ReqMatchingCompetitionDressData(int roleID) { //C2S_GetDay7Reward var response = await MessageHelper.SendToServer(new C2S_GetDay7Reward { Id = roleID }); if (!(response is { Error: ErrorCode.ERR_Success })) return false; DressUpData data = null; if (data == null) { MatchingCompetitionDataManager.Instance.MathingDressDate = DressUpData.CreateDefault(); } else { MatchingCompetitionDataManager.Instance.MathingDressDate = data; } return true; } } }