// // IAPDelegate.cpp // TileManor // // Created by 徐炼新 on 2024/9/30. // #include "IAPDelegate.hpp" NS_IAP_BEGIN IAPDelegate* IAPDelegate::_instance = nullptr; IAPDelegate* IAPDelegate::getInstance(){ if (_instance == nullptr) { _instance = new IAPDelegate(); } return _instance; } NS_IAP_END