AppEasy Core SDK
1.5.0
Cross platform mobile and desktop app and game development SDK - The easy way to make apps
|
#include <CzMarket.h>
Public Types | |
typedef CzList < CzMarketProduct * > ::iterator | _ProductIterator |
Public Member Functions | |
_ProductIterator | begin () |
_ProductIterator | end () |
CzEventManager * | getEventsManager () |
void | addProduct (CzMarketProduct *product) |
void | removeProduct (CzMarketProduct *product) |
CzMarketProduct * | findProduct (const char *product_id) |
CzMarketProduct * | findProductByName (unsigned int name_hash) |
void | setCurrentProductID (const char *product_id) |
const char * | getCurrentProductID () const |
int | getProductCount () const |
void | setPurchased (const char *product_id, bool purchased=true) |
CzScriptCallback & | getScriptCallback () |
bool | isBusy () const |
void | setBusy (bool busy) |
CzMarket () | |
virtual | ~CzMarket () |
int | Init (const char *public_key) |
void | Release () |
void | Save () |
void | Load () |
int | LoadFromXoml (IzXomlResource *parent, bool load_children, CzXmlNode *node) |
bool | QueryProduct (const char *product_id) |
bool | PurchaseProduct (const char *product_id) |
bool | RestoreProducts () |
void | NotifyUnavailable () |
void | NotifyComplete () |
void | NotifyError () |
void | NotifyBillingDisabled () |
void | NotifyRefund () |
void | NotifyInfoAvailable () |
Protected Member Functions | |
void | ProcessEventActions (unsigned int event_name, IzXomlResource *parent) |
Protected Attributes | |
CzList< CzMarketProduct * > | Products |
Available products. | |
CzEventManager * | EventsManager |
List of events that the animation handles. | |
CzScriptCallback | ScriptCallback |
Script call back. | |
CzString | CurrentProductID |
Current Product ID (e.g. com.companyname.appname.productname) | |
bool | Busy |
When true the market is busy. |
typedef CzList<CzMarketProduct*>::iterator CzMarket::_ProductIterator |
CzMarket::CzMarket | ( | ) | [inline] |
virtual CzMarket::~CzMarket | ( | ) | [inline, virtual] |
void CzMarket::addProduct | ( | CzMarketProduct * | product | ) | [inline] |
_ProductIterator CzMarket::begin | ( | ) | [inline] |
_ProductIterator CzMarket::end | ( | ) | [inline] |
CzMarketProduct * CzMarket::findProduct | ( | const char * | product_id | ) |
CzMarketProduct * CzMarket::findProductByName | ( | unsigned int | name_hash | ) |
const char* CzMarket::getCurrentProductID | ( | ) | const [inline] |
CzEventManager* CzMarket::getEventsManager | ( | ) | [inline] |
int CzMarket::getProductCount | ( | ) | const [inline] |
CzScriptCallback& CzMarket::getScriptCallback | ( | ) | [inline] |
int CzMarket::Init | ( | const char * | public_key | ) |
bool CzMarket::isBusy | ( | ) | const [inline] |
void CzMarket::Load | ( | ) |
int CzMarket::LoadFromXoml | ( | IzXomlResource * | parent, |
bool | load_children, | ||
CzXmlNode * | node | ||
) | [virtual] |
Implements IzXomlResource.
void CzMarket::NotifyBillingDisabled | ( | ) |
void CzMarket::NotifyComplete | ( | ) |
void CzMarket::NotifyError | ( | ) |
void CzMarket::NotifyInfoAvailable | ( | ) |
void CzMarket::NotifyRefund | ( | ) |
void CzMarket::NotifyUnavailable | ( | ) |
void CzMarket::ProcessEventActions | ( | unsigned int | event_name, |
IzXomlResource * | parent | ||
) | [protected] |
bool CzMarket::PurchaseProduct | ( | const char * | product_id | ) |
bool CzMarket::QueryProduct | ( | const char * | product_id | ) |
void CzMarket::Release | ( | ) |
void CzMarket::removeProduct | ( | CzMarketProduct * | product | ) |
bool CzMarket::RestoreProducts | ( | ) |
void CzMarket::Save | ( | ) |
void CzMarket::setBusy | ( | bool | busy | ) | [inline] |
void CzMarket::setCurrentProductID | ( | const char * | product_id | ) |
void CzMarket::setPurchased | ( | const char * | product_id, |
bool | purchased = true |
||
) |
bool CzMarket::Busy [protected] |
When true the market is busy.
CzString CzMarket::CurrentProductID [protected] |
Current Product ID (e.g. com.companyname.appname.productname)
CzEventManager* CzMarket::EventsManager [protected] |
List of events that the animation handles.
CzList<CzMarketProduct*> CzMarket::Products [protected] |
Available products.
CzScriptCallback CzMarket::ScriptCallback [protected] |
Script call back.