![]() |
Skylicht Engine
|
Public Member Functions | |
| void | addListener (IStoreListener *listener) |
| void | removeListener (IStoreListener *listener) |
| virtual void | init ()=0 |
| virtual void | restorePurchase ()=0 |
| virtual void | restart ()=0 |
| virtual void | initiatePurchase (const char *productId)=0 |
| virtual void | fetchAdditionalProducts (const std::vector< std::string > &productIds)=0 |
| bool | isInitialized () |
| void | notifyInitialized () |
| void | notifyProductReceived (const std::vector< SIAPProduct > &products) |
| void | notifyFetchProductFailed (int error, const char *message) |
| void | notifyInitializeFailed (int error, const char *message) |
| void | notifyRestorePurchaseFailed (int error, const char *message) |
| void | notifyPurchaseSucceeded (const char *productId, const char *receipt) |
| void | notifyPurchaseFailed (const char *productId, int error, const char *message) |
Protected Attributes | |
| std::vector< IStoreListener * > | m_listener |
| bool | m_isInitialized |