ShopDataManager.cs 568 B

12345678910111213141516171819
  1. using ET;
  2. namespace GFGGame
  3. {
  4. public class ShopDataManager : SingletonBase<ShopDataManager>
  5. {
  6. // public int SHOP_TYPE;
  7. public void BuyItem(int itemId, int itemCount, int shopType, ShopCfg shopCfg)
  8. {
  9. BuyItemConteoller.Show(itemId, itemCount, ConstBuyType.TYPE_SHOP, shopType, () =>
  10. {
  11. LogServerHelper.SendNodeLog((int)PlayParticipationEnum.FU_ZHUANG_DIAN, 2);
  12. GetSuitItemController.TryShow(itemId);
  13. }, true, false, GameConst.MAX_COUNT_TO_BUY_ITEMS);
  14. }
  15. }
  16. }