1234567891011121314151617181920212223242526 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using ET;
- namespace GFGGame
- {
- public class ClothingSyntheticSProxy
- {
- public static async ETTask<bool> ClothtingSynthetic(int itemId)
- {
- var response = (M2C_ClothingSynthetic)await MessageHelper.SendToServer(new C2M_ClothingSynthetic() { ItemId = itemId });
- if (response != null)
- {
- if (response.Error == ErrorCode.ERR_Success)
- {
- GetSuitItemController.TryShow(itemId);
- return true;
- }
- }
- return true;
- }
- }
- }
|