Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update README.md

  • Loading branch information...
commit dc8c04d0b67cb1c54ad0209b8905cd3e015cf9eb 1 parent bd7e09f
@refaelos refaelos authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
4 README.md
@@ -3,7 +3,7 @@
Haven't you ever wanted an in-app purchase one liner that looks like this ?!
```cpp
- cocos2dx_StoreController::buyCurrencyPack("[Product id here]");
+ cocos2dx_StoreController::buyMarketItem("[Product id here]");
```
cocos2dx-store
@@ -118,7 +118,7 @@ void StoreScene::menuChooseCallback(CCObject* pSender)
if (tag == 0) {
} else {
- cocos2dx_StoreController::buyCurrencyPack(productId);
+ cocos2dx_StoreController::buyMarketItem(productId);
}
}
catch (cocos2dx_VirtualItemNotFoundException& e) {
Please sign in to comment.
Something went wrong with that request. Please try again.