|
@@ -46,13 +46,15 @@ public:
|
|
bool addAPlacement(const IAPPlacement& plInfo);
|
|
bool addAPlacement(const IAPPlacement& plInfo);
|
|
|
|
|
|
// 删除一个商店版位
|
|
// 删除一个商店版位
|
|
- // id 卡片id(添加版位时的id)
|
|
|
|
|
|
+ // id 添加版位时的id
|
|
void removePlacement(const std::string& id);
|
|
void removePlacement(const std::string& id);
|
|
|
|
|
|
// 给某个商店版位添加卡片
|
|
// 给某个商店版位添加卡片
|
|
|
|
+ // id 商店版位id card 卡片信息
|
|
bool addCardToPlacement(const std::string& id, IAPCard* card);
|
|
bool addCardToPlacement(const std::string& id, IAPCard* card);
|
|
|
|
|
|
// 给某个商店版位删除卡片
|
|
// 给某个商店版位删除卡片
|
|
|
|
+ // id 商店版位id cardIndex 卡片索引
|
|
bool removeCardToPlacement(const std::string& id, int cardIndex = -1);
|
|
bool removeCardToPlacement(const std::string& id, int cardIndex = -1);
|
|
|
|
|
|
// 清空活动
|
|
// 清空活动
|
|
@@ -77,6 +79,7 @@ public:
|
|
void showSlideCardsByCoinsIn(cocos2d::Node* pParent, int stillNeedCoins);
|
|
void showSlideCardsByCoinsIn(cocos2d::Node* pParent, int stillNeedCoins);
|
|
|
|
|
|
// 添加用户购买信息 并 从delegate发送购买的道具信息
|
|
// 添加用户购买信息 并 从delegate发送购买的道具信息
|
|
|
|
+ // commodityID 购买的商店卡片ID
|
|
void addUserBuyInfo(std::string commodityID);
|
|
void addUserBuyInfo(std::string commodityID);
|
|
|
|
|
|
// 清除用户购买信息
|
|
// 清除用户购买信息
|