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