IAPDelegate.hpp 386 B

123456789101112131415161718192021222324
  1. //
  2. // IAPDelegate.hpp
  3. // TileManor
  4. //
  5. // Created by 徐炼新 on 2024/9/30.
  6. //
  7. #ifndef IAPDelegate_hpp
  8. #define IAPDelegate_hpp
  9. #include <cocos2d.h>
  10. #include "IAPDefine.hpp"
  11. class IAPDelegate {
  12. public:
  13. virtual ~IAPDelegate(){}
  14. // 用户成功购买通知
  15. virtual void onUserBuySuccess(std::map<std::string, string> buyInfo) = 0;
  16. };
  17. #endif /* IAPDelegate_hpp */