MCPcopy Create free account
hub / github.com/coronalabs/corona / GetStoreFrom

Function GetStoreFrom

librtt/Rtt_LuaLibInAppStore.cpp:32–57  ·  view source on GitHub ↗

Fetches the currently selected store that was set via store.init() from the given runtime object. Logs a warning if a store could not be provided by this function. @param runtime Pointer to the runtime object to fetch the store from. @return Returns a pointer to the currently selected/active store. Returns NULL if a store has not been selected via store.init() in Lua or if the platform does not su

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 7

loadProductsFunction · 0.85
isActiveFunction · 0.85
canMakePurchasesFunction · 0.85
canLoadProductsFunction · 0.85
purchaseFunction · 0.85
finishTransactionFunction · 0.85

Calls 5

LuaStateMethod · 0.80
CoronaLuaErrorFunction · 0.50
CoronaLuaWarningFunction · 0.50
GetStoreProviderMethod · 0.45
GetActiveStoreMethod · 0.45

Tested by

no test coverage detected