12345678910111213141516171819202122232425 |
- using ET;
- namespace GFGGame
- {
- public class MatchingCompetitionSproxy
- {
- //获取搭配评选赛搭配数据,道具数据,人物位置数据
- public static async ETTask<bool> 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;
- }
- }
- }
|