uYIDnH210O4u.xml 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <behavior agenttype="red::RedBehaviacTree" name="uYIDnH210O4u" version="5">
  3. <node class="Sequence" id="0">
  4. <node class="IfElse" id="1">
  5. <node class="Condition" id="2">
  6. <property Operator="Equal"/>
  7. <property Opl="Self.red::RedBehaviacTree::getCoderFloat(&quot;P-卡片数量&quot;)"/>
  8. <property Opr="const float 1"/>
  9. </node>
  10. <node class="Sequence" id="3">
  11. <node class="Assignment" id="4">
  12. <property CastRight="false"/>
  13. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  14. <property Opr="const string &quot;加载信息_兑换卡片&quot;"/>
  15. </node>
  16. <node class="Action" id="5">
  17. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_0&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  18. <property ResultOption="BT_SUCCESS"/>
  19. </node>
  20. <node class="Assignment" id="6">
  21. <property CastRight="false"/>
  22. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  23. <property Opr="const string &quot;1&quot;"/>
  24. </node>
  25. <node class="Action" id="7">
  26. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_1&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  27. <property ResultOption="BT_SUCCESS"/>
  28. </node>
  29. <node class="Action" id="8">
  30. <property Method="Self.red::RedBehaviacTree::notifyDevelopmentWithParamAndNode(&quot;TMlLjLgurHxz&quot;,&quot;__ttbt__localVariableIndex_0&quot;,&quot;__ttbt__localVariableIndex_1&quot;,&quot;VNmUwkVQhOiZ&quot;)"/>
  31. <property ResultOption="BT_SUCCESS"/>
  32. </node>
  33. <node class="Action" id="9">
  34. <property Method="Self.red::RedBehaviacTree::clearFunLocalMap()"/>
  35. <property ResultOption="BT_SUCCESS"/>
  36. </node>
  37. <node class="Action" id="10">
  38. <property Method="Self.red::RedBehaviacTree::customFunc(&quot;9T4DiOIc1fEU&quot;,&quot;CerGQj7CwwqG&quot;)"/>
  39. <property ResultOption="BT_SUCCESS"/>
  40. </node>
  41. <node class="Action" id="11">
  42. <property Method="Self.red::RedBehaviacTree::getTreeState()"/>
  43. <property ResultOption="BT_INVALID"/>
  44. </node>
  45. </node>
  46. <node class="Noop" id="12"/>
  47. </node>
  48. <node class="IfElse" id="13">
  49. <node class="Condition" id="14">
  50. <property Operator="Equal"/>
  51. <property Opl="Self.red::RedBehaviacTree::getCoderFloat(&quot;P-卡片数量&quot;)"/>
  52. <property Opr="const float 2"/>
  53. </node>
  54. <node class="Sequence" id="15">
  55. <node class="Assignment" id="16">
  56. <property CastRight="false"/>
  57. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  58. <property Opr="const string &quot;加载信息_兑换卡片&quot;"/>
  59. </node>
  60. <node class="Action" id="17">
  61. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_2&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  62. <property ResultOption="BT_SUCCESS"/>
  63. </node>
  64. <node class="Assignment" id="18">
  65. <property CastRight="false"/>
  66. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  67. <property Opr="const string &quot;1&quot;"/>
  68. </node>
  69. <node class="Action" id="19">
  70. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_3&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  71. <property ResultOption="BT_SUCCESS"/>
  72. </node>
  73. <node class="Action" id="20">
  74. <property Method="Self.red::RedBehaviacTree::notifyDevelopmentWithParamAndNode(&quot;eJkhbZwXVnIn&quot;,&quot;__ttbt__localVariableIndex_2&quot;,&quot;__ttbt__localVariableIndex_3&quot;,&quot;VNmUwkVQhOiZ&quot;)"/>
  75. <property ResultOption="BT_SUCCESS"/>
  76. </node>
  77. <node class="Action" id="21">
  78. <property Method="Self.red::RedBehaviacTree::clearFunLocalMap()"/>
  79. <property ResultOption="BT_SUCCESS"/>
  80. </node>
  81. <node class="Action" id="22">
  82. <property Method="Self.red::RedBehaviacTree::customFunc(&quot;kzJYFLYvk8Pf&quot;,&quot;CerGQj7CwwqG&quot;)"/>
  83. <property ResultOption="BT_SUCCESS"/>
  84. </node>
  85. <node class="Action" id="23">
  86. <property Method="Self.red::RedBehaviacTree::getTreeState()"/>
  87. <property ResultOption="BT_INVALID"/>
  88. </node>
  89. <node class="Assignment" id="24">
  90. <property CastRight="false"/>
  91. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  92. <property Opr="const string &quot;加载信息_兑换卡片&quot;"/>
  93. </node>
  94. <node class="Action" id="25">
  95. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_4&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  96. <property ResultOption="BT_SUCCESS"/>
  97. </node>
  98. <node class="Assignment" id="26">
  99. <property CastRight="false"/>
  100. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  101. <property Opr="const string &quot;2&quot;"/>
  102. </node>
  103. <node class="Action" id="27">
  104. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_5&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  105. <property ResultOption="BT_SUCCESS"/>
  106. </node>
  107. <node class="Action" id="28">
  108. <property Method="Self.red::RedBehaviacTree::notifyDevelopmentWithParamAndNode(&quot;Mv1gHNZKpfAw&quot;,&quot;__ttbt__localVariableIndex_4&quot;,&quot;__ttbt__localVariableIndex_5&quot;,&quot;NgZTJWcLtW0w&quot;)"/>
  109. <property ResultOption="BT_SUCCESS"/>
  110. </node>
  111. <node class="Action" id="29">
  112. <property Method="Self.red::RedBehaviacTree::clearFunLocalMap()"/>
  113. <property ResultOption="BT_SUCCESS"/>
  114. </node>
  115. <node class="Action" id="30">
  116. <property Method="Self.red::RedBehaviacTree::customFunc(&quot;hi5lFUhk3opM&quot;,&quot;IjJMgJAclpll&quot;)"/>
  117. <property ResultOption="BT_SUCCESS"/>
  118. </node>
  119. <node class="Action" id="31">
  120. <property Method="Self.red::RedBehaviacTree::getTreeState()"/>
  121. <property ResultOption="BT_INVALID"/>
  122. </node>
  123. </node>
  124. <node class="Noop" id="32"/>
  125. </node>
  126. </node>
  127. </behavior>