ソースを参照

添加了一系列测试按钮

MoYuWang 9 ヶ月 前
コミット
e73e929850

+ 2 - 5
Classes/IAP/IAPCtlShop.cpp

@@ -24,7 +24,6 @@ NS_IAP_BEGIN
 
 IAPCtlShop* IAPCtlShop::_instance = nullptr;
 
-
 IAPCtlShop* IAPCtlShop::createWith(){
     if (_instance == nullptr) {
         _instance = new IAPCtlShop();
@@ -48,7 +47,7 @@ void IAPCtlShop::setCfg4Failure(std::string &cfgFN){
     _pbConf->initData(cfgFN);
 }
 
-void IAPCtlShop::displayFailureCardIn(cocos2d::Node *node){
+void IAPCtlShop::displayFailureCardIn(cocos2d::Node *node, std::vector<std::string> cardsName){
     auto sDot = _pbConf->getViewDot();
     PurchaseBannerView::sDotCfg dot;
     dot.highSp = sDot.highSp;
@@ -61,9 +60,7 @@ void IAPCtlShop::displayFailureCardIn(cocos2d::Node *node){
     cocos2d::Size sz = cocos2d::Size(width, 300);
     
     PurchaseBannerView* view = PurchaseBannerView::create(sz, dot, true);
-    std::vector<std::string> names;
-    if(_delegate)names = _delegate->getCardsNameWhenFailed();
-    for(const auto& name : names){
+    for(const auto& name : cardsName){
         PurchaseBannerCell* tmpNode = PurchaseBannerCell::create(name);
         view->addBanner(tmpNode);
     }

+ 2 - 2
Classes/IAP/IAPCtlShop.hpp

@@ -44,7 +44,7 @@ public:
     void setCfg4Failure(std::string& cfgFN);
 
     // 显示失败时的内购卡片
-    void displayFailureCardIn(cocos2d::Node*);
+    void displayFailureCardIn(cocos2d::Node*, std::vector<std::string> cardsName);
     
     // 设置当前设备的等级
     // level 等级: 1 表示初级, 2 表示中级, 3 表示高级
@@ -83,7 +83,7 @@ public:
     // 获取用户类型
     UserBuyType getUserBuyType();
     
-    // 添加用户购买信息
+    // 添加用户购买信息 并 从delegate发送购买的道具信息
     void addUserBuyInfo(std::string commodityID);
     
     // 清除用户购买信息

+ 1 - 6
Classes/IAP/IAPDelegate.hpp

@@ -17,12 +17,7 @@ public:
     
     // 用户成功购买通知
     virtual void onUserBuySuccess(std::map<std::string, string> buyInfo) = 0;
-    
-//     //获取还需要的金币数量
-//    virtual int getStillNeedCoinsWhenFailed() = 0;
-    
-    // 获取失败时需要显示的卡片名称
-    virtual std::vector<std::string> getCardsNameWhenFailed() = 0;
+
 };
 
 

+ 0 - 10
Classes/IAPDelegateImpl.cpp

@@ -20,13 +20,3 @@ void IAPDelegateImpl::onUserBuySuccess(std::map<std::string, string> buyInfos){
         printf("道具名称: %s , 道具数量: %d\n", buyInfo.first.c_str(), stoi(buyInfo.second));
     }
 }
-
-// 获取失败时需要显示的卡片名称
-std::vector<std::string> IAPDelegateImpl::getCardsNameWhenFailed(){
-    std::vector<std::string> names;
-//    names.push_back("礼包1");
-    names.push_back("tilefavor");
-    names.push_back("tilepack");
-    names.push_back("tilepass");
-    return names;
-}

+ 0 - 3
Classes/IAPDelegateImpl.hpp

@@ -20,9 +20,6 @@ public:
     // 用户成功购买通知
     virtual void onUserBuySuccess(std::map<std::string, string> buyInfo) override;
     
-    // 获取失败时需要显示的卡片名称
-    virtual std::vector<std::string> getCardsNameWhenFailed() override;
-    
 };
 
 #endif /* IAPDelegateImpl_hpp */

+ 0 - 0
Classes/IAP/Test/IAPTestCard.cpp → Classes/IAPTestCard.cpp


+ 0 - 0
Classes/IAP/Test/IAPTestCard.hpp → Classes/IAPTestCard.hpp


+ 0 - 0
Classes/IAP/Test/IAPTestCardViewDelegate.cpp → Classes/IAPTestCardViewDelegate.cpp


+ 0 - 0
Classes/IAP/Test/IAPTestCardViewDelegate.hpp → Classes/IAPTestCardViewDelegate.hpp


+ 57 - 12
Classes/TestScene.cpp

@@ -42,14 +42,7 @@ bool TestScene::init(){
     _iapShop->init(cfgFN);
     _iapShop->setCfg4Failure(failFN);
     
-    iap::IAPPlacement plInfo;
-    plInfo.id = "1";
-    IAPTestCard* testCard = new IAPTestCard();
-    IAPTestCard* testCard2 = new IAPTestCard();
-    plInfo.cards.push_back(testCard);
-    plInfo.cards.push_back(testCard2);
     
-    _iapShop->addAPlacement(plInfo);
     
     // 第二个版位
     
@@ -63,9 +56,6 @@ bool TestScene::init(){
 //    _iapShop->addAPlacement(plInfo2);
     
     
-    IAPTestCard* testCard5 = new IAPTestCard();
-    _iapShop->addCardToPlacement(plInfo.id, testCard5);
-    
     // 在此处添加场景初始化的代码,比如创建背景、角色、UI等
     createBoard();
     schedule(CC_SCHEDULE_SELECTOR(TestScene::update), 1.0f);
@@ -107,13 +97,68 @@ void TestScene::onNotifyDevelopment(const redutils::ReboltNotifyData& data){
 //        shopRequirement.coinsMin = 10000;
 //
 //        _iapShop->showInNode(this, shopRequirement);
-        _iapShop->displayFailureCardIn(this);
+        std::vector<std::string> names;
+    //    names.push_back("礼包1");
+        names.push_back("tilefavor");
+        names.push_back("tilepack");
+        names.push_back("tilepass");
+        
+        _iapShop->displayFailureCardIn(this, names);
+    }else if(data.notify == "点击失败时进入商店"){
+        auto editBox = dynamic_cast<REDEditBox*>(data.outNode);
+        if(editBox){
+            std::string text = editBox->getText();
+            iap::ShopRequirement req;
+            req.coinsMin = 0;
+            try {
+            req.coinsMin = stoi(text);
+            }
+            catch (const std::invalid_argument&) {
+                log("转化失败");
+            }
+            catch (const std::out_of_range&) {
+                log("超过int值");
+            }
+            _iapShop->showInNode(this, req);
+            log("点击失败时进入商店");
+        }
     }else if(data.notify == "点击重置"){
         
         _iapShop->setDeviceLevel(1);
         _iapShop->clearUserBuyInfo();
+        _iapShop->clearPlacement();
+        _placementIDs.clear();
 
-        log("重置为低等级设备,且清除用户购买信息");
+        log("重置为低等级设备,清除用户购买信息,清除活动版位");
+    }else if(data.notify == "点击添加一个活动版位"){
+        iap::IAPPlacement plInfo;
+        plInfo.id = _placementIDs.size();
+        
+        _placementIDs.push_back(plInfo.id);
+        
+        _iapShop->addAPlacement(plInfo);
+        
+    }else if(data.notify == "点击给活动版位添加卡片"){
+        auto editBox = dynamic_cast<REDEditBox*>(data.outNode);
+        if(editBox){
+            std::string text = editBox->getText();
+            int index = 0;
+            try {
+                index = stoi(text);
+            }
+            catch (const std::invalid_argument&) {
+                log("转化失败");
+            }
+            catch (const std::out_of_range&) {
+                log("超过int值");
+            }
+            if(index < _placementIDs.size()){
+                IAPTestCard* testCard = new IAPTestCard();
+                _iapShop->addCardToPlacement(_placementIDs[index], testCard);
+            }
+        }
+        
+        
     }
 }
 

+ 3 - 0
Classes/TestScene.h

@@ -25,6 +25,9 @@ private:
     void update(float dt);
     
     iap::IAPCtlShop* _iapShop;
+    
+    std::vector<std::string> _placementIDs;
+    
 };
 
 

+ 150 - 4
Resources/resources/ccb/lyMap.rebolt

@@ -218,8 +218,8 @@
                 },
                 "Type": "BTStepSlot"
             },
-            "x": -96,
-            "y": 663
+            "x": -90,
+            "y": 498
         },
         "Tree5": {
             "ExportTree": true,
@@ -258,8 +258,154 @@
                 },
                 "Type": "BTStepSlot"
             },
-            "x": -109,
-            "y": 804
+            "x": -98,
+            "y": 611
+        },
+        "Tree6": {
+            "ExportTree": true,
+            "ImageIndex": -1,
+            "Type": "BTButtonClickFuncAction",
+            "VarJson": {
+                "boolJson": {
+                },
+                "numberJson": {
+                }
+            },
+            "isIllegal": false,
+            "mathSelector": {
+                "DisplayName": "添加一个活动版位",
+                "Type": "OBJ",
+                "Value": "8yc3rmMN5ySe"
+            },
+            "randomID": "L2W6JJzFtL7n",
+            "stepSlot": {
+                "ContainerValue": {
+                    "Type": "BTNotificationToCoderAction",
+                    "conditionA": {
+                        "ContainerValue": null,
+                        "StringValue": {
+                            "Type": "STRING",
+                            "Value": "点击添加一个活动版位"
+                        },
+                        "Type": "BTInputSlot"
+                    },
+                    "isIllegal": true,
+                    "randomID": "Tx5M0P0z4yK5",
+                    "stepSlot": {
+                        "ContainerValue": null,
+                        "Type": "BTStepSlot"
+                    }
+                },
+                "Type": "BTStepSlot"
+            },
+            "x": -103,
+            "y": 817
+        },
+        "Tree7": {
+            "ExportTree": true,
+            "ImageIndex": -1,
+            "Type": "BTButtonClickFuncAction",
+            "VarJson": {
+                "boolJson": {
+                },
+                "numberJson": {
+                }
+            },
+            "isIllegal": false,
+            "mathSelector": {
+                "DisplayName": "给活动版位添加卡片",
+                "Type": "OBJ",
+                "Value": "ZUV3QeIs8X1K"
+            },
+            "randomID": "CqK7mz4MlbN4",
+            "stepSlot": {
+                "ContainerValue": {
+                    "Type": "BTNotificationNodeToCoderAction",
+                    "baseSelect": {
+                        "DisplayName": "活动版位索引输入",
+                        "Type": "Action",
+                        "Value": "Pfp3o3g2RkLP"
+                    },
+                    "conditionA": {
+                        "ContainerValue": null,
+                        "StringValue": {
+                            "Type": "STRING",
+                            "Value": "点击给活动版位添加卡片"
+                        },
+                        "Type": "BTInputSlot"
+                    },
+                    "isIllegal": true,
+                    "paramA": {
+                        "ContainerValue": null,
+                        "StringValue": {
+                            "Type": "STRING",
+                            "Value": ""
+                        },
+                        "Type": "BTInputSlot"
+                    },
+                    "randomID": "hH1o9MNNvusX",
+                    "stepSlot": {
+                        "ContainerValue": null,
+                        "Type": "BTStepSlot"
+                    }
+                },
+                "Type": "BTStepSlot"
+            },
+            "x": -115,
+            "y": 919
+        },
+        "Tree8": {
+            "ExportTree": true,
+            "ImageIndex": -1,
+            "Type": "BTButtonClickFuncAction",
+            "VarJson": {
+                "boolJson": {
+                },
+                "numberJson": {
+                }
+            },
+            "isIllegal": false,
+            "mathSelector": {
+                "DisplayName": "失败时进入商店",
+                "Type": "OBJ",
+                "Value": "GqEAjcBOU7ef"
+            },
+            "randomID": "UFjOOgJmwLDr",
+            "stepSlot": {
+                "ContainerValue": {
+                    "Type": "BTNotificationNodeToCoderAction",
+                    "baseSelect": {
+                        "DisplayName": "还需金币数量",
+                        "Type": "Action",
+                        "Value": "gPZPjxXlUP6W"
+                    },
+                    "conditionA": {
+                        "ContainerValue": null,
+                        "StringValue": {
+                            "Type": "STRING",
+                            "Value": "点击失败时进入商店"
+                        },
+                        "Type": "BTInputSlot"
+                    },
+                    "isIllegal": true,
+                    "paramA": {
+                        "ContainerValue": null,
+                        "StringValue": {
+                            "Type": "STRING",
+                            "Value": ""
+                        },
+                        "Type": "BTInputSlot"
+                    },
+                    "randomID": "KxnDlHETZzHh",
+                    "stepSlot": {
+                        "ContainerValue": null,
+                        "Type": "BTStepSlot"
+                    }
+                },
+                "Type": "BTStepSlot"
+            },
+            "x": -91,
+            "y": 716
         }
     }
 }

+ 1090 - 7
Resources/resources/ccb/lyMap.red

@@ -176,7 +176,7 @@
                             <key>value</key>
                             <array>
                                 <real>50.0000000</real>
-                                <real>50.3345184</real>
+                                <real>46.2676086</real>
                                 <integer>0</integer>
                                 <integer>2</integer>
                                 <integer>2</integer>
@@ -707,7 +707,7 @@
                             <key>value</key>
                             <array>
                                 <real>50.0000000</real>
-                                <real>70.0000000</real>
+                                <real>88.4056396</real>
                                 <integer>0</integer>
                                 <integer>2</integer>
                                 <integer>2</integer>
@@ -860,7 +860,7 @@
                                     <key>type</key>
                                     <string>Text</string>
                                     <key>value</key>
-                                    <string>失败时金币不够跳转商店</string>
+                                    <string>失败时显示</string>
                                 </dict>
                                 <dict>
                                     <key>name</key>
@@ -872,7 +872,7 @@
                                         <false/>
                                         <false/>
                                         <string></string>
-                                        <string>失败时金币不够跳转商店</string>
+                                        <string>失败时显示</string>
                                     </array>
                                 </dict>
                             </array>
@@ -908,7 +908,7 @@
                             <key>value</key>
                             <array>
                                 <real>50.0000000</real>
-                                <real>42.7464828</real>
+                                <real>37.4225426</real>
                                 <integer>0</integer>
                                 <integer>2</integer>
                                 <integer>2</integer>
@@ -1124,8 +1124,8 @@
                             <string>Position</string>
                             <key>value</key>
                             <array>
-                                <real>50.0000000</real>
-                                <real>20.0000000</real>
+                                <real>51.8899918</real>
+                                <real>13.6112690</real>
                                 <integer>0</integer>
                                 <integer>2</integer>
                                 <integer>2</integer>
@@ -1188,6 +1188,1089 @@
                     <key>uniqueNodeId</key>
                     <integer>338678405</integer>
                 </dict>
+                <dict>
+                    <key>animatedProperties</key>
+                    <dict/>
+                    <key>baseClass</key>
+                    <string>CCNode</string>
+                    <key>children</key>
+                    <array>
+                        <dict>
+                            <key>animatedProperties</key>
+                            <dict/>
+                            <key>baseClass</key>
+                            <string>REDNodeButton</string>
+                            <key>children</key>
+                            <array>
+                                <dict>
+                                    <key>animatedProperties</key>
+                                    <dict/>
+                                    <key>baseClass</key>
+                                    <string>CCLabelTTF</string>
+                                    <key>children</key>
+                                    <array/>
+                                    <key>customClass</key>
+                                    <string></string>
+                                    <key>customProperties</key>
+                                    <array/>
+                                    <key>displayName</key>
+                                    <string>CCLabelTTF</string>
+                                    <key>expand</key>
+                                    <false/>
+                                    <key>hidden</key>
+                                    <false/>
+                                    <key>locked</key>
+                                    <false/>
+                                    <key>memberVarAssignmentName</key>
+                                    <string></string>
+                                    <key>memberVarAssignmentType</key>
+                                    <integer>0</integer>
+                                    <key>properties</key>
+                                    <array>
+                                        <dict>
+                                            <key>name</key>
+                                            <string>position</string>
+                                            <key>type</key>
+                                            <string>Position</string>
+                                            <key>value</key>
+                                            <array>
+                                                <real>54.5000153</real>
+                                                <real>15.0000105</real>
+                                                <integer>0</integer>
+                                                <integer>0</integer>
+                                                <integer>0</integer>
+                                            </array>
+                                        </dict>
+                                        <dict>
+                                            <key>name</key>
+                                            <string>opacity</string>
+                                            <key>type</key>
+                                            <string>Byte</string>
+                                            <key>value</key>
+                                            <integer>255</integer>
+                                        </dict>
+                                        <dict>
+                                            <key>name</key>
+                                            <string>color</string>
+                                            <key>type</key>
+                                            <string>Color3</string>
+                                            <key>value</key>
+                                            <array>
+                                                <integer>255</integer>
+                                                <integer>255</integer>
+                                                <integer>255</integer>
+                                            </array>
+                                        </dict>
+                                        <dict>
+                                            <key>name</key>
+                                            <string>fontName</string>
+                                            <key>type</key>
+                                            <string>FontTTF</string>
+                                            <key>value</key>
+                                            <string>Helvetica</string>
+                                        </dict>
+                                        <dict>
+                                            <key>name</key>
+                                            <string>fontSize</string>
+                                            <key>type</key>
+                                            <string>FloatScale</string>
+                                            <key>value</key>
+                                            <array>
+                                                <real>24.0000000</real>
+                                                <integer>0</integer>
+                                            </array>
+                                        </dict>
+                                        <dict>
+                                            <key>name</key>
+                                            <string>dimensions</string>
+                                            <key>type</key>
+                                            <string>Size</string>
+                                            <key>value</key>
+                                            <array>
+                                                <integer>0</integer>
+                                                <integer>0</integer>
+                                                <integer>0</integer>
+                                                <integer>0</integer>
+                                                <false/>
+                                                <false/>
+                                            </array>
+                                        </dict>
+                                        <dict>
+                                            <key>name</key>
+                                            <string>string</string>
+                                            <key>type</key>
+                                            <string>Text</string>
+                                            <key>value</key>
+                                            <string>失败时点击进入商店</string>
+                                        </dict>
+                                        <dict>
+                                            <key>name</key>
+                                            <string>localization</string>
+                                            <key>type</key>
+                                            <string>Localization</string>
+                                            <key>value</key>
+                                            <array>
+                                                <false/>
+                                                <false/>
+                                                <string></string>
+                                                <string>失败时点击进入商店</string>
+                                            </array>
+                                        </dict>
+                                    </array>
+                                    <key>reboltId</key>
+                                    <string>jWXw8PW0Zj7q</string>
+                                    <key>reboltName</key>
+                                    <string></string>
+                                    <key>seqExpanded</key>
+                                    <false/>
+                                    <key>uniqueNodeId</key>
+                                    <integer>307237965</integer>
+                                </dict>
+                            </array>
+                            <key>customClass</key>
+                            <string></string>
+                            <key>customProperties</key>
+                            <array/>
+                            <key>displayName</key>
+                            <string>失败进入商店</string>
+                            <key>expand</key>
+                            <true/>
+                            <key>hidden</key>
+                            <false/>
+                            <key>locked</key>
+                            <false/>
+                            <key>memberVarAssignmentName</key>
+                            <string></string>
+                            <key>memberVarAssignmentType</key>
+                            <integer>0</integer>
+                            <key>properties</key>
+                            <array>
+                                <dict>
+                                    <key>name</key>
+                                    <string>position</string>
+                                    <key>type</key>
+                                    <string>Position</string>
+                                    <key>value</key>
+                                    <array>
+                                        <real>-122.6877136</real>
+                                        <real>0.1839294</real>
+                                        <integer>0</integer>
+                                        <integer>0</integer>
+                                        <integer>0</integer>
+                                    </array>
+                                </dict>
+                                <dict>
+                                    <key>name</key>
+                                    <string>opacity</string>
+                                    <key>type</key>
+                                    <string>Byte</string>
+                                    <key>value</key>
+                                    <integer>255</integer>
+                                </dict>
+                                <dict>
+                                    <key>name</key>
+                                    <string>color</string>
+                                    <key>type</key>
+                                    <string>Color3</string>
+                                    <key>value</key>
+                                    <array>
+                                        <integer>255</integer>
+                                        <integer>255</integer>
+                                        <integer>255</integer>
+                                    </array>
+                                </dict>
+                                <dict>
+                                    <key>name</key>
+                                    <string>ccControl</string>
+                                    <key>type</key>
+                                    <string>BlockCCControl</string>
+                                    <key>value</key>
+                                    <array>
+                                        <string></string>
+                                        <integer>0</integer>
+                                        <integer>32</integer>
+                                    </array>
+                                </dict>
+                                <dict>
+                                    <key>name</key>
+                                    <string>preferedSize</string>
+                                    <key>type</key>
+                                    <string>Size</string>
+                                    <key>value</key>
+                                    <array>
+                                        <integer>120</integer>
+                                        <integer>40</integer>
+                                        <integer>0</integer>
+                                        <integer>0</integer>
+                                        <false/>
+                                        <false/>
+                                    </array>
+                                </dict>
+                            </array>
+                            <key>reboltId</key>
+                            <string>GqEAjcBOU7ef</string>
+                            <key>reboltName</key>
+                            <string>失败时进入商店</string>
+                            <key>seqExpanded</key>
+                            <false/>
+                            <key>uniqueNodeId</key>
+                            <integer>520165683</integer>
+                        </dict>
+                        <dict>
+                            <key>animatedProperties</key>
+                            <dict/>
+                            <key>baseClass</key>
+                            <string>UIEditBox</string>
+                            <key>children</key>
+                            <array/>
+                            <key>customClass</key>
+                            <string></string>
+                            <key>customProperties</key>
+                            <array/>
+                            <key>displayName</key>
+                            <string>UIEditBox</string>
+                            <key>expand</key>
+                            <false/>
+                            <key>hidden</key>
+                            <false/>
+                            <key>locked</key>
+                            <false/>
+                            <key>memberVarAssignmentName</key>
+                            <string></string>
+                            <key>memberVarAssignmentType</key>
+                            <integer>0</integer>
+                            <key>properties</key>
+                            <array>
+                                <dict>
+                                    <key>name</key>
+                                    <string>position</string>
+                                    <key>type</key>
+                                    <string>Position</string>
+                                    <key>value</key>
+                                    <array>
+                                        <real>117.5054474</real>
+                                        <real>0.1839852</real>
+                                        <integer>0</integer>
+                                        <integer>0</integer>
+                                        <integer>0</integer>
+                                    </array>
+                                </dict>
+                                <dict>
+                                    <key>name</key>
+                                    <string>contentSize</string>
+                                    <key>type</key>
+                                    <string>Size</string>
+                                    <key>value</key>
+                                    <array>
+                                        <real>196.7712097</real>
+                                        <real>30.0000000</real>
+                                        <integer>0</integer>
+                                        <integer>0</integer>
+                                        <false/>
+                                        <false/>
+                                    </array>
+                                </dict>
+                                <dict>
+                                    <key>name</key>
+                                    <string>anchorPoint</string>
+                                    <key>type</key>
+                                    <string>Point</string>
+                                    <key>value</key>
+                                    <array>
+                                        <real>0.5000000</real>
+                                        <real>0.5000000</real>
+                                    </array>
+                                </dict>
+                                <dict>
+                                    <key>name</key>
+                                    <string>scale</string>
+                                    <key>type</key>
+                                    <string>ScaleLock</string>
+                                    <key>value</key>
+                                    <array>
+                                        <real>1.0000000</real>
+                                        <real>1.0000000</real>
+                                        <false/>
+                                    </array>
+                                </dict>
+                                <dict>
+                                    <key>name</key>
+                                    <string>rotation</string>
+                                    <key>type</key>
+                                    <string>Degrees</string>
+                                    <key>value</key>
+                                    <real>0.0000000</real>
+                                </dict>
+                                <dict>
+                                    <key>name</key>
+                                    <string>opacity</string>
+                                    <key>type</key>
+                                    <string>Byte</string>
+                                    <key>value</key>
+                                    <integer>255</integer>
+                                </dict>
+                                <dict>
+                                    <key>name</key>
+                                    <string>color</string>
+                                    <key>type</key>
+                                    <string>Color3</string>
+                                    <key>value</key>
+                                    <array>
+                                        <integer>255</integer>
+                                        <integer>255</integer>
+                                        <integer>255</integer>
+                                    </array>
+                                </dict>
+                                <dict>
+                                    <key>name</key>
+                                    <string>placeHolder</string>
+                                    <key>type</key>
+                                    <string>String</string>
+                                    <key>value</key>
+                                    <string></string>
+                                </dict>
+                                <dict>
+                                    <key>name</key>
+                                    <string>text</string>
+                                    <key>type</key>
+                                    <string>String</string>
+                                    <key>value</key>
+                                    <string>请输入还需金币数量</string>
+                                </dict>
+                                <dict>
+                                    <key>name</key>
+                                    <string>inputMode</string>
+                                    <key>type</key>
+                                    <string>IntegerLabeled</string>
+                                    <key>value</key>
+                                    <integer>3</integer>
+                                </dict>
+                                <dict>
+                                    <key>name</key>
+                                    <string>fontName</string>
+                                    <key>type</key>
+                                    <string>FontTTF</string>
+                                    <key>value</key>
+                                    <string>Helvetica</string>
+                                </dict>
+                                <dict>
+                                    <key>name</key>
+                                    <string>fontSize</string>
+                                    <key>type</key>
+                                    <string>FloatScale</string>
+                                    <key>value</key>
+                                    <array>
+                                        <real>20.0000000</real>
+                                        <integer>0</integer>
+                                    </array>
+                                </dict>
+                                <dict>
+                                    <key>name</key>
+                                    <string>password</string>
+                                    <key>type</key>
+                                    <string>Check</string>
+                                    <key>value</key>
+                                    <false/>
+                                </dict>
+                                <dict>
+                                    <key>name</key>
+                                    <string>maxLength</string>
+                                    <key>type</key>
+                                    <string>Integer</string>
+                                    <key>value</key>
+                                    <integer>-1</integer>
+                                </dict>
+                                <dict>
+                                    <key>name</key>
+                                    <string>background</string>
+                                    <key>type</key>
+                                    <string>FrameSet</string>
+                                    <key>value</key>
+                                    <array>
+                                        <array>
+                                            <string>gameMapUI.plist</string>
+                                            <string>gmui_Download4.png</string>
+                                        </array>
+                                    </array>
+                                </dict>
+                            </array>
+                            <key>reboltId</key>
+                            <string>gPZPjxXlUP6W</string>
+                            <key>reboltName</key>
+                            <string>还需金币数量</string>
+                            <key>seqExpanded</key>
+                            <false/>
+                            <key>uniqueNodeId</key>
+                            <integer>115752757</integer>
+                        </dict>
+                    </array>
+                    <key>customClass</key>
+                    <string></string>
+                    <key>customProperties</key>
+                    <array/>
+                    <key>displayName</key>
+                    <string>CCNode</string>
+                    <key>expand</key>
+                    <true/>
+                    <key>hidden</key>
+                    <false/>
+                    <key>locked</key>
+                    <false/>
+                    <key>memberVarAssignmentName</key>
+                    <string></string>
+                    <key>memberVarAssignmentType</key>
+                    <integer>0</integer>
+                    <key>properties</key>
+                    <array>
+                        <dict>
+                            <key>name</key>
+                            <string>position</string>
+                            <key>type</key>
+                            <string>Position</string>
+                            <key>value</key>
+                            <array>
+                                <real>320.0000000</real>
+                                <real>321.4072571</real>
+                                <integer>0</integer>
+                                <integer>0</integer>
+                                <integer>0</integer>
+                            </array>
+                        </dict>
+                        <dict>
+                            <key>name</key>
+                            <string>contentSize</string>
+                            <key>type</key>
+                            <string>Size</string>
+                            <key>value</key>
+                            <array>
+                                <string>0</string>
+                                <integer>0</integer>
+                                <integer>0</integer>
+                                <integer>0</integer>
+                                <false/>
+                                <false/>
+                            </array>
+                        </dict>
+                        <dict>
+                            <key>name</key>
+                            <string>ignoreAnchorPointForPosition</string>
+                            <key>type</key>
+                            <string>Check</string>
+                            <key>value</key>
+                            <false/>
+                        </dict>
+                        <dict>
+                            <key>name</key>
+                            <string>opacity</string>
+                            <key>type</key>
+                            <string>Byte</string>
+                            <key>value</key>
+                            <integer>255</integer>
+                        </dict>
+                        <dict>
+                            <key>name</key>
+                            <string>color</string>
+                            <key>type</key>
+                            <string>Color3</string>
+                            <key>value</key>
+                            <array>
+                                <integer>255</integer>
+                                <integer>255</integer>
+                                <integer>255</integer>
+                            </array>
+                        </dict>
+                    </array>
+                    <key>seqExpanded</key>
+                    <false/>
+                    <key>uniqueNodeId</key>
+                    <integer>684427329</integer>
+                </dict>
+                <dict>
+                    <key>animatedProperties</key>
+                    <dict/>
+                    <key>baseClass</key>
+                    <string>REDNodeButton</string>
+                    <key>children</key>
+                    <array>
+                        <dict>
+                            <key>animatedProperties</key>
+                            <dict/>
+                            <key>baseClass</key>
+                            <string>CCLabelTTF</string>
+                            <key>children</key>
+                            <array/>
+                            <key>customClass</key>
+                            <string></string>
+                            <key>customProperties</key>
+                            <array/>
+                            <key>displayName</key>
+                            <string>CCLabelTTF</string>
+                            <key>expand</key>
+                            <false/>
+                            <key>hidden</key>
+                            <false/>
+                            <key>locked</key>
+                            <false/>
+                            <key>memberVarAssignmentName</key>
+                            <string></string>
+                            <key>memberVarAssignmentType</key>
+                            <integer>0</integer>
+                            <key>properties</key>
+                            <array>
+                                <dict>
+                                    <key>name</key>
+                                    <string>position</string>
+                                    <key>type</key>
+                                    <string>Position</string>
+                                    <key>value</key>
+                                    <array>
+                                        <real>66.5960693</real>
+                                        <real>24.9999638</real>
+                                        <integer>0</integer>
+                                        <integer>0</integer>
+                                        <integer>0</integer>
+                                    </array>
+                                </dict>
+                                <dict>
+                                    <key>name</key>
+                                    <string>opacity</string>
+                                    <key>type</key>
+                                    <string>Byte</string>
+                                    <key>value</key>
+                                    <integer>255</integer>
+                                </dict>
+                                <dict>
+                                    <key>name</key>
+                                    <string>color</string>
+                                    <key>type</key>
+                                    <string>Color3</string>
+                                    <key>value</key>
+                                    <array>
+                                        <integer>255</integer>
+                                        <integer>255</integer>
+                                        <integer>255</integer>
+                                    </array>
+                                </dict>
+                                <dict>
+                                    <key>name</key>
+                                    <string>fontName</string>
+                                    <key>type</key>
+                                    <string>FontTTF</string>
+                                    <key>value</key>
+                                    <string>Helvetica</string>
+                                </dict>
+                                <dict>
+                                    <key>name</key>
+                                    <string>fontSize</string>
+                                    <key>type</key>
+                                    <string>FloatScale</string>
+                                    <key>value</key>
+                                    <array>
+                                        <real>24.0000000</real>
+                                        <integer>0</integer>
+                                    </array>
+                                </dict>
+                                <dict>
+                                    <key>name</key>
+                                    <string>dimensions</string>
+                                    <key>type</key>
+                                    <string>Size</string>
+                                    <key>value</key>
+                                    <array>
+                                        <integer>0</integer>
+                                        <integer>0</integer>
+                                        <integer>0</integer>
+                                        <integer>0</integer>
+                                        <false/>
+                                        <false/>
+                                    </array>
+                                </dict>
+                                <dict>
+                                    <key>name</key>
+                                    <string>string</string>
+                                    <key>type</key>
+                                    <string>Text</string>
+                                    <key>value</key>
+                                    <string>添加一个活动版位</string>
+                                </dict>
+                                <dict>
+                                    <key>name</key>
+                                    <string>localization</string>
+                                    <key>type</key>
+                                    <string>Localization</string>
+                                    <key>value</key>
+                                    <array>
+                                        <false/>
+                                        <false/>
+                                        <string></string>
+                                        <string>添加一个活动版位</string>
+                                    </array>
+                                </dict>
+                            </array>
+                            <key>seqExpanded</key>
+                            <false/>
+                            <key>uniqueNodeId</key>
+                            <integer>414739673</integer>
+                        </dict>
+                    </array>
+                    <key>customClass</key>
+                    <string></string>
+                    <key>customProperties</key>
+                    <array/>
+                    <key>displayName</key>
+                    <string>添加活动版位</string>
+                    <key>expand</key>
+                    <true/>
+                    <key>hidden</key>
+                    <false/>
+                    <key>locked</key>
+                    <false/>
+                    <key>memberVarAssignmentName</key>
+                    <string></string>
+                    <key>memberVarAssignmentType</key>
+                    <integer>0</integer>
+                    <key>properties</key>
+                    <array>
+                        <dict>
+                            <key>name</key>
+                            <string>position</string>
+                            <key>type</key>
+                            <string>Position</string>
+                            <key>value</key>
+                            <array>
+                                <real>320.0000000</real>
+                                <real>886.4664917</real>
+                                <integer>0</integer>
+                                <integer>0</integer>
+                                <integer>0</integer>
+                            </array>
+                        </dict>
+                        <dict>
+                            <key>name</key>
+                            <string>opacity</string>
+                            <key>type</key>
+                            <string>Byte</string>
+                            <key>value</key>
+                            <integer>255</integer>
+                        </dict>
+                        <dict>
+                            <key>name</key>
+                            <string>color</string>
+                            <key>type</key>
+                            <string>Color3</string>
+                            <key>value</key>
+                            <array>
+                                <integer>255</integer>
+                                <integer>255</integer>
+                                <integer>255</integer>
+                            </array>
+                        </dict>
+                        <dict>
+                            <key>name</key>
+                            <string>ccControl</string>
+                            <key>type</key>
+                            <string>BlockCCControl</string>
+                            <key>value</key>
+                            <array>
+                                <string></string>
+                                <integer>0</integer>
+                                <integer>32</integer>
+                            </array>
+                        </dict>
+                        <dict>
+                            <key>name</key>
+                            <string>preferedSize</string>
+                            <key>type</key>
+                            <string>Size</string>
+                            <key>value</key>
+                            <array>
+                                <integer>120</integer>
+                                <integer>40</integer>
+                                <integer>0</integer>
+                                <integer>0</integer>
+                                <false/>
+                                <false/>
+                            </array>
+                        </dict>
+                    </array>
+                    <key>reboltId</key>
+                    <string>8yc3rmMN5ySe</string>
+                    <key>reboltName</key>
+                    <string>添加一个活动版位</string>
+                    <key>seqExpanded</key>
+                    <false/>
+                    <key>uniqueNodeId</key>
+                    <integer>840876910</integer>
+                </dict>
+                <dict>
+                    <key>animatedProperties</key>
+                    <dict/>
+                    <key>baseClass</key>
+                    <string>REDNodeButton</string>
+                    <key>children</key>
+                    <array>
+                        <dict>
+                            <key>animatedProperties</key>
+                            <dict/>
+                            <key>baseClass</key>
+                            <string>CCLabelTTF</string>
+                            <key>children</key>
+                            <array/>
+                            <key>customClass</key>
+                            <string></string>
+                            <key>customProperties</key>
+                            <array/>
+                            <key>displayName</key>
+                            <string>CCLabelTTF</string>
+                            <key>expand</key>
+                            <false/>
+                            <key>hidden</key>
+                            <false/>
+                            <key>locked</key>
+                            <false/>
+                            <key>memberVarAssignmentName</key>
+                            <string></string>
+                            <key>memberVarAssignmentType</key>
+                            <integer>0</integer>
+                            <key>properties</key>
+                            <array>
+                                <dict>
+                                    <key>name</key>
+                                    <string>position</string>
+                                    <key>type</key>
+                                    <string>Position</string>
+                                    <key>value</key>
+                                    <array>
+                                        <real>54.5000305</real>
+                                        <real>24.9999580</real>
+                                        <integer>0</integer>
+                                        <integer>0</integer>
+                                        <integer>0</integer>
+                                    </array>
+                                </dict>
+                                <dict>
+                                    <key>name</key>
+                                    <string>opacity</string>
+                                    <key>type</key>
+                                    <string>Byte</string>
+                                    <key>value</key>
+                                    <integer>255</integer>
+                                </dict>
+                                <dict>
+                                    <key>name</key>
+                                    <string>color</string>
+                                    <key>type</key>
+                                    <string>Color3</string>
+                                    <key>value</key>
+                                    <array>
+                                        <integer>255</integer>
+                                        <integer>255</integer>
+                                        <integer>255</integer>
+                                    </array>
+                                </dict>
+                                <dict>
+                                    <key>name</key>
+                                    <string>fontName</string>
+                                    <key>type</key>
+                                    <string>FontTTF</string>
+                                    <key>value</key>
+                                    <string>Helvetica</string>
+                                </dict>
+                                <dict>
+                                    <key>name</key>
+                                    <string>fontSize</string>
+                                    <key>type</key>
+                                    <string>FloatScale</string>
+                                    <key>value</key>
+                                    <array>
+                                        <real>24.0000000</real>
+                                        <integer>0</integer>
+                                    </array>
+                                </dict>
+                                <dict>
+                                    <key>name</key>
+                                    <string>dimensions</string>
+                                    <key>type</key>
+                                    <string>Size</string>
+                                    <key>value</key>
+                                    <array>
+                                        <integer>0</integer>
+                                        <integer>0</integer>
+                                        <integer>0</integer>
+                                        <integer>0</integer>
+                                        <false/>
+                                        <false/>
+                                    </array>
+                                </dict>
+                                <dict>
+                                    <key>name</key>
+                                    <string>string</string>
+                                    <key>type</key>
+                                    <string>Text</string>
+                                    <key>value</key>
+                                    <string>给活动版位添加卡片</string>
+                                </dict>
+                                <dict>
+                                    <key>name</key>
+                                    <string>localization</string>
+                                    <key>type</key>
+                                    <string>Localization</string>
+                                    <key>value</key>
+                                    <array>
+                                        <false/>
+                                        <false/>
+                                        <string></string>
+                                        <string>给活动版位添加卡片</string>
+                                    </array>
+                                </dict>
+                            </array>
+                            <key>seqExpanded</key>
+                            <false/>
+                            <key>uniqueNodeId</key>
+                            <integer>119598376</integer>
+                        </dict>
+                    </array>
+                    <key>customClass</key>
+                    <string></string>
+                    <key>customProperties</key>
+                    <array/>
+                    <key>displayName</key>
+                    <string>给活动版位添加卡片</string>
+                    <key>expand</key>
+                    <true/>
+                    <key>hidden</key>
+                    <false/>
+                    <key>locked</key>
+                    <false/>
+                    <key>memberVarAssignmentName</key>
+                    <string></string>
+                    <key>memberVarAssignmentType</key>
+                    <integer>0</integer>
+                    <key>properties</key>
+                    <array>
+                        <dict>
+                            <key>name</key>
+                            <string>position</string>
+                            <key>type</key>
+                            <string>Position</string>
+                            <key>value</key>
+                            <array>
+                                <real>229.3760986</real>
+                                <real>798.0819702</real>
+                                <integer>0</integer>
+                                <integer>0</integer>
+                                <integer>0</integer>
+                            </array>
+                        </dict>
+                        <dict>
+                            <key>name</key>
+                            <string>opacity</string>
+                            <key>type</key>
+                            <string>Byte</string>
+                            <key>value</key>
+                            <integer>255</integer>
+                        </dict>
+                        <dict>
+                            <key>name</key>
+                            <string>color</string>
+                            <key>type</key>
+                            <string>Color3</string>
+                            <key>value</key>
+                            <array>
+                                <integer>255</integer>
+                                <integer>255</integer>
+                                <integer>255</integer>
+                            </array>
+                        </dict>
+                        <dict>
+                            <key>name</key>
+                            <string>ccControl</string>
+                            <key>type</key>
+                            <string>BlockCCControl</string>
+                            <key>value</key>
+                            <array>
+                                <string></string>
+                                <integer>0</integer>
+                                <integer>32</integer>
+                            </array>
+                        </dict>
+                        <dict>
+                            <key>name</key>
+                            <string>preferedSize</string>
+                            <key>type</key>
+                            <string>Size</string>
+                            <key>value</key>
+                            <array>
+                                <integer>120</integer>
+                                <integer>40</integer>
+                                <integer>0</integer>
+                                <integer>0</integer>
+                                <false/>
+                                <false/>
+                            </array>
+                        </dict>
+                    </array>
+                    <key>reboltId</key>
+                    <string>ZUV3QeIs8X1K</string>
+                    <key>reboltName</key>
+                    <string>给活动版位添加卡片</string>
+                    <key>seqExpanded</key>
+                    <false/>
+                    <key>uniqueNodeId</key>
+                    <integer>172773682</integer>
+                </dict>
+                <dict>
+                    <key>animatedProperties</key>
+                    <dict/>
+                    <key>baseClass</key>
+                    <string>UIEditBox</string>
+                    <key>children</key>
+                    <array/>
+                    <key>customClass</key>
+                    <string></string>
+                    <key>customProperties</key>
+                    <array/>
+                    <key>displayName</key>
+                    <string>UIEditBox</string>
+                    <key>expand</key>
+                    <false/>
+                    <key>hidden</key>
+                    <false/>
+                    <key>locked</key>
+                    <false/>
+                    <key>memberVarAssignmentName</key>
+                    <string></string>
+                    <key>memberVarAssignmentType</key>
+                    <integer>0</integer>
+                    <key>properties</key>
+                    <array>
+                        <dict>
+                            <key>name</key>
+                            <string>position</string>
+                            <key>type</key>
+                            <string>Position</string>
+                            <key>value</key>
+                            <array>
+                                <real>457.8653564</real>
+                                <real>803.0819702</real>
+                                <integer>0</integer>
+                                <integer>0</integer>
+                                <integer>0</integer>
+                            </array>
+                        </dict>
+                        <dict>
+                            <key>name</key>
+                            <string>contentSize</string>
+                            <key>type</key>
+                            <string>Size</string>
+                            <key>value</key>
+                            <array>
+                                <real>203.8905334</real>
+                                <real>30.0000000</real>
+                                <integer>0</integer>
+                                <integer>0</integer>
+                                <false/>
+                                <false/>
+                            </array>
+                        </dict>
+                        <dict>
+                            <key>name</key>
+                            <string>anchorPoint</string>
+                            <key>type</key>
+                            <string>Point</string>
+                            <key>value</key>
+                            <array>
+                                <real>0.5000000</real>
+                                <real>0.5000000</real>
+                            </array>
+                        </dict>
+                        <dict>
+                            <key>name</key>
+                            <string>scale</string>
+                            <key>type</key>
+                            <string>ScaleLock</string>
+                            <key>value</key>
+                            <array>
+                                <real>1.0000000</real>
+                                <real>1.0000000</real>
+                                <false/>
+                            </array>
+                        </dict>
+                        <dict>
+                            <key>name</key>
+                            <string>rotation</string>
+                            <key>type</key>
+                            <string>Degrees</string>
+                            <key>value</key>
+                            <real>0.0000000</real>
+                        </dict>
+                        <dict>
+                            <key>name</key>
+                            <string>opacity</string>
+                            <key>type</key>
+                            <string>Byte</string>
+                            <key>value</key>
+                            <integer>255</integer>
+                        </dict>
+                        <dict>
+                            <key>name</key>
+                            <string>color</string>
+                            <key>type</key>
+                            <string>Color3</string>
+                            <key>value</key>
+                            <array>
+                                <integer>255</integer>
+                                <integer>255</integer>
+                                <integer>255</integer>
+                            </array>
+                        </dict>
+                        <dict>
+                            <key>name</key>
+                            <string>placeHolder</string>
+                            <key>type</key>
+                            <string>String</string>
+                            <key>value</key>
+                            <string></string>
+                        </dict>
+                        <dict>
+                            <key>name</key>
+                            <string>text</string>
+                            <key>type</key>
+                            <string>String</string>
+                            <key>value</key>
+                            <string>请输入活动版位索引</string>
+                        </dict>
+                        <dict>
+                            <key>name</key>
+                            <string>fontName</string>
+                            <key>type</key>
+                            <string>FontTTF</string>
+                            <key>value</key>
+                            <string>Helvetica</string>
+                        </dict>
+                        <dict>
+                            <key>name</key>
+                            <string>background</string>
+                            <key>type</key>
+                            <string>FrameSet</string>
+                            <key>value</key>
+                            <array>
+                                <array>
+                                    <string>gameMapUI.plist</string>
+                                    <string>gmui_Download4.png</string>
+                                </array>
+                            </array>
+                        </dict>
+                    </array>
+                    <key>reboltId</key>
+                    <string>Pfp3o3g2RkLP</string>
+                    <key>reboltName</key>
+                    <string>活动版位索引输入</string>
+                    <key>seqExpanded</key>
+                    <false/>
+                    <key>uniqueNodeId</key>
+                    <integer>979721639</integer>
+                </dict>
             </array>
             <key>customClass</key>
             <string></string>

+ 27 - 0
Resources/resources/ccbi/Rebolt_BT/CqK7mz4MlbN4.xml

@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<behavior agenttype="red::RedBehaviacTree" name="CqK7mz4MlbN4" version="5">
+    <node class="Sequence" id="0">
+        <node class="Assignment" id="1">
+            <property CastRight="false"/>
+            <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
+            <property Opr="const string &quot;点击给活动版位添加卡片&quot;"/>
+        </node>
+        <node class="Action" id="2">
+            <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_0&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
+            <property ResultOption="BT_SUCCESS"/>
+        </node>
+        <node class="Assignment" id="3">
+            <property CastRight="false"/>
+            <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
+            <property Opr="const string &quot;&quot;"/>
+        </node>
+        <node class="Action" id="4">
+            <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_1&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
+            <property ResultOption="BT_SUCCESS"/>
+        </node>
+        <node class="Action" id="5">
+            <property Method="Self.red::RedBehaviacTree::notifyDevelopmentWithParamAndNode(&quot;hH1o9MNNvusX&quot;,&quot;__ttbt__localVariableIndex_0&quot;,&quot;__ttbt__localVariableIndex_1&quot;,&quot;Pfp3o3g2RkLP&quot;)"/>
+            <property ResultOption="BT_SUCCESS"/>
+        </node>
+    </node>
+</behavior>

+ 18 - 0
Resources/resources/ccbi/Rebolt_BT/L2W6JJzFtL7n.xml

@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<behavior agenttype="red::RedBehaviacTree" name="L2W6JJzFtL7n" version="5">
+    <node class="Sequence" id="0">
+        <node class="Assignment" id="1">
+            <property CastRight="false"/>
+            <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
+            <property Opr="const string &quot;点击添加一个活动版位&quot;"/>
+        </node>
+        <node class="Action" id="2">
+            <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_0&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
+            <property ResultOption="BT_SUCCESS"/>
+        </node>
+        <node class="Action" id="3">
+            <property Method="Self.red::RedBehaviacTree::notifyDevelopment(&quot;Tx5M0P0z4yK5&quot;,&quot;__ttbt__localVariableIndex_0&quot;)"/>
+            <property ResultOption="BT_SUCCESS"/>
+        </node>
+    </node>
+</behavior>

+ 27 - 0
Resources/resources/ccbi/Rebolt_BT/UFjOOgJmwLDr.xml

@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<behavior agenttype="red::RedBehaviacTree" name="UFjOOgJmwLDr" version="5">
+    <node class="Sequence" id="0">
+        <node class="Assignment" id="1">
+            <property CastRight="false"/>
+            <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
+            <property Opr="const string &quot;点击失败时进入商店&quot;"/>
+        </node>
+        <node class="Action" id="2">
+            <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_0&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
+            <property ResultOption="BT_SUCCESS"/>
+        </node>
+        <node class="Assignment" id="3">
+            <property CastRight="false"/>
+            <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
+            <property Opr="const string &quot;&quot;"/>
+        </node>
+        <node class="Action" id="4">
+            <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_1&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
+            <property ResultOption="BT_SUCCESS"/>
+        </node>
+        <node class="Action" id="5">
+            <property Method="Self.red::RedBehaviacTree::notifyDevelopmentWithParamAndNode(&quot;KxnDlHETZzHh&quot;,&quot;__ttbt__localVariableIndex_0&quot;,&quot;__ttbt__localVariableIndex_1&quot;,&quot;gPZPjxXlUP6W&quot;)"/>
+            <property ResultOption="BT_SUCCESS"/>
+        </node>
+    </node>
+</behavior>

+ 18 - 0
Resources/resources/ccbi/Rebolt_BT/YirawY323HYm.xml

@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<behavior agenttype="red::RedBehaviacTree" name="YirawY323HYm" version="5">
+    <node class="Sequence" id="0">
+        <node class="Assignment" id="1">
+            <property CastRight="false"/>
+            <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
+            <property Opr="const string &quot;点击失败时进入商店&quot;"/>
+        </node>
+        <node class="Action" id="2">
+            <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_0&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
+            <property ResultOption="BT_SUCCESS"/>
+        </node>
+        <node class="Action" id="3">
+            <property Method="Self.red::RedBehaviacTree::notifyDevelopment(&quot;0T6UBbqyOqPM&quot;,&quot;__ttbt__localVariableIndex_0&quot;)"/>
+            <property ResultOption="BT_SUCCESS"/>
+        </node>
+    </node>
+</behavior>

+ 27 - 0
Resources/resources/ccbi/Rebolt_BT/z5t2wvrbeW3x.xml

@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<behavior agenttype="red::RedBehaviacTree" name="z5t2wvrbeW3x" version="5">
+    <node class="Sequence" id="0">
+        <node class="Assignment" id="1">
+            <property CastRight="false"/>
+            <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
+            <property Opr="const string &quot;点击失败时进入商店&quot;"/>
+        </node>
+        <node class="Action" id="2">
+            <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_0&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
+            <property ResultOption="BT_SUCCESS"/>
+        </node>
+        <node class="Assignment" id="3">
+            <property CastRight="false"/>
+            <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
+            <property Opr="const string &quot;1&quot;"/>
+        </node>
+        <node class="Action" id="4">
+            <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_1&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
+            <property ResultOption="BT_SUCCESS"/>
+        </node>
+        <node class="Action" id="5">
+            <property Method="Self.red::RedBehaviacTree::notifyDevelopmentWithParamAndNode(&quot;AqJpRMOrXKes&quot;,&quot;__ttbt__localVariableIndex_0&quot;,&quot;__ttbt__localVariableIndex_1&quot;,&quot;gPZPjxXlUP6W&quot;)"/>
+            <property ResultOption="BT_SUCCESS"/>
+        </node>
+    </node>
+</behavior>

BIN
Resources/resources/ccbi/lyMap.redream


+ 4 - 12
proj.ios_mac/demo.xcodeproj/project.pbxproj

@@ -402,7 +402,6 @@
 				2F15C5EA2CB8F65A0057855D /* IAPCtlShop.hpp */,
 				2F15C5DE2CB8F65A0057855D /* IAPCtlShop.cpp */,
 				C19B68A12CD1E46D00536ED4 /* purchaseBanner */,
-				C1CA495B2CD08C37002745E2 /* Test */,
 				2F15C5DF2CB8F65A0057855D /* Shop */,
 				2F15C5E72CB8F65A0057855D /* User */,
 				2F15C5EC2CB8F65A0057855D /* Ctl */,
@@ -490,6 +489,10 @@
 				C17ACCBB2CB903BA0072A711 /* TestScene.cpp */,
 				C19B68BE2CD222A400536ED4 /* IAPDelegateImpl.hpp */,
 				C19B68BD2CD222A400536ED4 /* IAPDelegateImpl.cpp */,
+				C17946162CC7502600779B63 /* IAPTestCard.hpp */,
+				C17946152CC7502600779B63 /* IAPTestCard.cpp */,
+				C18082322CCB71D3009DE140 /* IAPTestCardViewDelegate.hpp */,
+				C18082312CCB71D3009DE140 /* IAPTestCardViewDelegate.cpp */,
 			);
 			name = Classes;
 			path = ../Classes;
@@ -534,17 +537,6 @@
 			path = purchaseBanner;
 			sourceTree = "<group>";
 		};
-		C1CA495B2CD08C37002745E2 /* Test */ = {
-			isa = PBXGroup;
-			children = (
-				C17946162CC7502600779B63 /* IAPTestCard.hpp */,
-				C17946152CC7502600779B63 /* IAPTestCard.cpp */,
-				C18082322CCB71D3009DE140 /* IAPTestCardViewDelegate.hpp */,
-				C18082312CCB71D3009DE140 /* IAPTestCardViewDelegate.cpp */,
-			);
-			path = Test;
-			sourceTree = "<group>";
-		};
 		E4D223352BD6676A006F1F8D /* BullDogClass */ = {
 			isa = PBXGroup;
 			children = (