12345678910111213141516171819202122232425 |
- //
- // IAPDelegate.hpp
- // TileManor
- //
- // Created by 徐炼新 on 2024/9/30.
- //
- #ifndef IAPDelegate_hpp
- #define IAPDelegate_hpp
- #include <cocos2d.h>
- #include "IAPDefine.hpp"
- class IAPDelegate {
- public:
- virtual ~IAPDelegate(){}
-
- // 用户成功购买通知
- // buyInfo 购买信息 < 道具名称, 道具数量 >
- virtual void onUserBuySuccess(std::map<std::string, string> buyInfo) = 0;
- };
- #endif /* IAPDelegate_hpp */
|