12345678910111213141516171819202122232425 |
- using System.Collections.Generic;
- using ET;
- using GFGGame;
- namespace GFGGame
- {
- public static class FieldSProxy
- {
- public static async ETTask<bool> ClothingDecompose(List<int> itemIds, List<int> itemNums)
- {
- M2C_ClothingDecompose response = null;
- response = (M2C_ClothingDecompose)await MessageHelper.SendToServer(new C2M_ClothingDecompose() { itemIds = itemIds, itemNums = itemNums });
- if (response != null)
- {
- if (response.Error == ErrorCode.ERR_Success)
- {
- BonusController.TryShowBonusList(ItemUtil.CreateItemDataList(response.bonusList));
- return true;
- }
- }
- return false;
- }
- }
- }
|