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