Permalink
Browse files

Update README.md

  • Loading branch information...
1 parent bd7e09f commit dc8c04d0b67cb1c54ad0209b8905cd3e015cf9eb @refaelos refaelos committed Jan 3, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
@@ -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) {

0 comments on commit dc8c04d

Please sign in to comment.