DefaultIAPImplement.cs 683 B

12345678910111213141516171819202122232425
  1. using FrameWork.SDKManager;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using UnityEngine;
  7. public class DefaultIAPImplement : PayInterface
  8. {
  9. public override void Pay(string goodsID, string tag, FrameWork.SDKManager.GoodsType goodsType = FrameWork.SDKManager.GoodsType.NORMAL, string orderID = null)
  10. {
  11. OnPayInfo payInfo = new OnPayInfo();
  12. payInfo.isSuccess = true;
  13. payInfo.goodsId = goodsID;
  14. payInfo.goodsType = goodsType;
  15. payInfo.receipt = "";
  16. payInfo.storeName = StoreName.None;
  17. Debug.Log("DefaultIAPImplement.Pay :" + goodsID);
  18. PayCallBack(payInfo);
  19. }
  20. }