IAPDelegate.cpp 329 B

12345678910111213141516171819
  1. //
  2. // IAPDelegate.cpp
  3. // TileManor
  4. //
  5. // Created by 徐炼新 on 2024/9/30.
  6. //
  7. #include "IAPDelegate.hpp"
  8. #include "IAPUserData.hpp"
  9. IAPDelegate* IAPDelegate::_instance = nullptr;
  10. IAPDelegate* IAPDelegate::getInstance(){
  11. if (_instance == nullptr) {
  12. _instance = new IAPDelegate();
  13. }
  14. return _instance;
  15. }