using System; using System.Collections.Generic; using System.Linq; using ET; namespace GFGGame { public class ShopViewManager : SingletonBase { public void BuyItem(int itemId, int itemCount, int shopType, ShopCfg shopCfg) { BuyItemConteoller.Show(itemId, itemCount, ConstBuyType.TYPE_SHOP, shopType, () => { LogServerHelper.SendPlayParticipationLog((int)PlayParticipationEnum.FU_ZHUANG_DIAN, 2); GetSuitItemController.TryShow(0); }, true, false, GameConst.MAX_COUNT_TO_BUY_ITEMS); } } }