ShopViewManager.cs 610 B

123456789101112131415161718192021
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using ET;
  5. namespace GFGGame
  6. {
  7. public class ShopViewManager : SingletonBase<ShopViewManager>
  8. {
  9. public void BuyItem(int itemId, int itemCount, int shopType, ShopCfg shopCfg)
  10. {
  11. BuyItemConteoller.Show(itemId, itemCount, ConstBuyType.TYPE_SHOP, shopType, () =>
  12. {
  13. LogServerHelper.SendPlayParticipationLog((int)PlayParticipationEnum.FU_ZHUANG_DIAN, 2);
  14. GetSuitItemController.TryShow(0);
  15. }, true, false, GameConst.MAX_COUNT_TO_BUY_ITEMS);
  16. }
  17. }
  18. }