// // IAPDelegate.hpp // TileManor // // Created by 徐炼新 on 2024/9/30. // #ifndef IAPDelegate_hpp #define IAPDelegate_hpp #include #include "IAPDefine.hpp" class IAPDelegate { public: virtual ~IAPDelegate(){} // 用户成功购买通知 virtual void onUserBuySuccess(std::map buyInfo) = 0; // //获取还需要的金币数量 // virtual int getStillNeedCoinsWhenFailed() = 0; // 获取失败时需要显示的卡片名称 virtual std::vector getCardsNameWhenFailed() = 0; }; #endif /* IAPDelegate_hpp */