QdbKDRLM71l3.xml 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <behavior agenttype="red::RedBehaviacTree" name="QdbKDRLM71l3" version="5">
  3. <node class="Sequence" id="0">
  4. <node class="Assignment" id="2">
  5. <property CastRight="false"/>
  6. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  7. <property Opr="Self.red::RedBehaviacTree::getFunStringVar(&quot;棋盘大小&quot;)"/>
  8. </node>
  9. <node class="Action" id="3">
  10. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_0&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  11. <property ResultOption="BT_SUCCESS"/>
  12. </node>
  13. <node class="Assignment" id="4">
  14. <property CastRight="false"/>
  15. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  16. <property Opr="const string &quot;4x4&quot;"/>
  17. </node>
  18. <node class="Action" id="5">
  19. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_1&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  20. <property ResultOption="BT_SUCCESS"/>
  21. </node>
  22. <node class="IfElse" id="1">
  23. <node class="Condition" id="6">
  24. <property Operator="Equal"/>
  25. <property Opl="Self.red::RedBehaviacTree::stringEqual(&quot;__ttbt__localVariableIndex_0&quot;,&quot;__ttbt__localVariableIndex_1&quot;)"/>
  26. <property Opr="const bool true"/>
  27. </node>
  28. <node class="Sequence" id="7">
  29. <node class="Assignment" id="8">
  30. <property CastRight="false"/>
  31. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  32. <property Opr="const string &quot;加载棋盘&quot;"/>
  33. </node>
  34. <node class="Action" id="9">
  35. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_2&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  36. <property ResultOption="BT_SUCCESS"/>
  37. </node>
  38. <node class="Assignment" id="10">
  39. <property CastRight="false"/>
  40. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  41. <property Opr="const string &quot;挖掘游戏_4x4棋盘&quot;"/>
  42. </node>
  43. <node class="Action" id="11">
  44. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_3&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  45. <property ResultOption="BT_SUCCESS"/>
  46. </node>
  47. <node class="Action" id="12">
  48. <property Method="Self.red::RedBehaviacTree::notifyDevelopmentWithParam(&quot;T77s9j7cpWd8&quot;,&quot;__ttbt__localVariableIndex_2&quot;,&quot;__ttbt__localVariableIndex_3&quot;)"/>
  49. <property ResultOption="BT_SUCCESS"/>
  50. </node>
  51. </node>
  52. <node class="Noop" id="13"/>
  53. </node>
  54. <node class="Assignment" id="15">
  55. <property CastRight="false"/>
  56. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  57. <property Opr="Self.red::RedBehaviacTree::getFunStringVar(&quot;棋盘大小&quot;)"/>
  58. </node>
  59. <node class="Action" id="16">
  60. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_4&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  61. <property ResultOption="BT_SUCCESS"/>
  62. </node>
  63. <node class="Assignment" id="17">
  64. <property CastRight="false"/>
  65. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  66. <property Opr="const string &quot;5x5&quot;"/>
  67. </node>
  68. <node class="Action" id="18">
  69. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_5&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  70. <property ResultOption="BT_SUCCESS"/>
  71. </node>
  72. <node class="IfElse" id="14">
  73. <node class="Condition" id="19">
  74. <property Operator="Equal"/>
  75. <property Opl="Self.red::RedBehaviacTree::stringEqual(&quot;__ttbt__localVariableIndex_4&quot;,&quot;__ttbt__localVariableIndex_5&quot;)"/>
  76. <property Opr="const bool true"/>
  77. </node>
  78. <node class="Sequence" id="20">
  79. <node class="Assignment" id="21">
  80. <property CastRight="false"/>
  81. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  82. <property Opr="const string &quot;加载棋盘&quot;"/>
  83. </node>
  84. <node class="Action" id="22">
  85. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_6&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  86. <property ResultOption="BT_SUCCESS"/>
  87. </node>
  88. <node class="Assignment" id="23">
  89. <property CastRight="false"/>
  90. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  91. <property Opr="const string &quot;挖掘游戏_5x5棋盘&quot;"/>
  92. </node>
  93. <node class="Action" id="24">
  94. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_7&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  95. <property ResultOption="BT_SUCCESS"/>
  96. </node>
  97. <node class="Action" id="25">
  98. <property Method="Self.red::RedBehaviacTree::notifyDevelopmentWithParam(&quot;9kGHy8usLrOh&quot;,&quot;__ttbt__localVariableIndex_6&quot;,&quot;__ttbt__localVariableIndex_7&quot;)"/>
  99. <property ResultOption="BT_SUCCESS"/>
  100. </node>
  101. </node>
  102. <node class="Noop" id="26"/>
  103. </node>
  104. <node class="Assignment" id="28">
  105. <property CastRight="false"/>
  106. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  107. <property Opr="Self.red::RedBehaviacTree::getFunStringVar(&quot;棋盘大小&quot;)"/>
  108. </node>
  109. <node class="Action" id="29">
  110. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_8&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  111. <property ResultOption="BT_SUCCESS"/>
  112. </node>
  113. <node class="Assignment" id="30">
  114. <property CastRight="false"/>
  115. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  116. <property Opr="const string &quot;6x6&quot;"/>
  117. </node>
  118. <node class="Action" id="31">
  119. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_9&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  120. <property ResultOption="BT_SUCCESS"/>
  121. </node>
  122. <node class="IfElse" id="27">
  123. <node class="Condition" id="32">
  124. <property Operator="Equal"/>
  125. <property Opl="Self.red::RedBehaviacTree::stringEqual(&quot;__ttbt__localVariableIndex_8&quot;,&quot;__ttbt__localVariableIndex_9&quot;)"/>
  126. <property Opr="const bool true"/>
  127. </node>
  128. <node class="Sequence" id="33">
  129. <node class="Assignment" id="34">
  130. <property CastRight="false"/>
  131. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  132. <property Opr="const string &quot;加载棋盘&quot;"/>
  133. </node>
  134. <node class="Action" id="35">
  135. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_10&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  136. <property ResultOption="BT_SUCCESS"/>
  137. </node>
  138. <node class="Assignment" id="36">
  139. <property CastRight="false"/>
  140. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  141. <property Opr="const string &quot;挖掘游戏_6x6棋盘&quot;"/>
  142. </node>
  143. <node class="Action" id="37">
  144. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_11&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  145. <property ResultOption="BT_SUCCESS"/>
  146. </node>
  147. <node class="Action" id="38">
  148. <property Method="Self.red::RedBehaviacTree::notifyDevelopmentWithParam(&quot;3LMyqqJDyGI8&quot;,&quot;__ttbt__localVariableIndex_10&quot;,&quot;__ttbt__localVariableIndex_11&quot;)"/>
  149. <property ResultOption="BT_SUCCESS"/>
  150. </node>
  151. </node>
  152. <node class="Noop" id="39"/>
  153. </node>
  154. <node class="Assignment" id="41">
  155. <property CastRight="false"/>
  156. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  157. <property Opr="Self.red::RedBehaviacTree::getFunStringVar(&quot;棋盘大小&quot;)"/>
  158. </node>
  159. <node class="Action" id="42">
  160. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_12&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  161. <property ResultOption="BT_SUCCESS"/>
  162. </node>
  163. <node class="Assignment" id="43">
  164. <property CastRight="false"/>
  165. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  166. <property Opr="const string &quot;7x7&quot;"/>
  167. </node>
  168. <node class="Action" id="44">
  169. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_13&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  170. <property ResultOption="BT_SUCCESS"/>
  171. </node>
  172. <node class="IfElse" id="40">
  173. <node class="Condition" id="45">
  174. <property Operator="Equal"/>
  175. <property Opl="Self.red::RedBehaviacTree::stringEqual(&quot;__ttbt__localVariableIndex_12&quot;,&quot;__ttbt__localVariableIndex_13&quot;)"/>
  176. <property Opr="const bool true"/>
  177. </node>
  178. <node class="Sequence" id="46">
  179. <node class="Assignment" id="47">
  180. <property CastRight="false"/>
  181. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  182. <property Opr="const string &quot;加载棋盘&quot;"/>
  183. </node>
  184. <node class="Action" id="48">
  185. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_14&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  186. <property ResultOption="BT_SUCCESS"/>
  187. </node>
  188. <node class="Assignment" id="49">
  189. <property CastRight="false"/>
  190. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  191. <property Opr="const string &quot;挖掘游戏_7x7棋盘&quot;"/>
  192. </node>
  193. <node class="Action" id="50">
  194. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_15&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  195. <property ResultOption="BT_SUCCESS"/>
  196. </node>
  197. <node class="Action" id="51">
  198. <property Method="Self.red::RedBehaviacTree::notifyDevelopmentWithParam(&quot;9RtMbTxEjomg&quot;,&quot;__ttbt__localVariableIndex_14&quot;,&quot;__ttbt__localVariableIndex_15&quot;)"/>
  199. <property ResultOption="BT_SUCCESS"/>
  200. </node>
  201. </node>
  202. <node class="Noop" id="52"/>
  203. </node>
  204. <node class="Assignment" id="54">
  205. <property CastRight="false"/>
  206. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  207. <property Opr="Self.red::RedBehaviacTree::getFunStringVar(&quot;棋盘大小&quot;)"/>
  208. </node>
  209. <node class="Action" id="55">
  210. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_16&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  211. <property ResultOption="BT_SUCCESS"/>
  212. </node>
  213. <node class="Assignment" id="56">
  214. <property CastRight="false"/>
  215. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  216. <property Opr="const string &quot;8x8&quot;"/>
  217. </node>
  218. <node class="Action" id="57">
  219. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_17&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  220. <property ResultOption="BT_SUCCESS"/>
  221. </node>
  222. <node class="IfElse" id="53">
  223. <node class="Condition" id="58">
  224. <property Operator="Equal"/>
  225. <property Opl="Self.red::RedBehaviacTree::stringEqual(&quot;__ttbt__localVariableIndex_16&quot;,&quot;__ttbt__localVariableIndex_17&quot;)"/>
  226. <property Opr="const bool true"/>
  227. </node>
  228. <node class="Sequence" id="59">
  229. <node class="Assignment" id="60">
  230. <property CastRight="false"/>
  231. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  232. <property Opr="const string &quot;加载棋盘&quot;"/>
  233. </node>
  234. <node class="Action" id="61">
  235. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_18&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  236. <property ResultOption="BT_SUCCESS"/>
  237. </node>
  238. <node class="Assignment" id="62">
  239. <property CastRight="false"/>
  240. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  241. <property Opr="const string &quot;挖掘游戏_8x8棋盘&quot;"/>
  242. </node>
  243. <node class="Action" id="63">
  244. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_19&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  245. <property ResultOption="BT_SUCCESS"/>
  246. </node>
  247. <node class="Action" id="64">
  248. <property Method="Self.red::RedBehaviacTree::notifyDevelopmentWithParam(&quot;XYZYqgldaYr4&quot;,&quot;__ttbt__localVariableIndex_18&quot;,&quot;__ttbt__localVariableIndex_19&quot;)"/>
  249. <property ResultOption="BT_SUCCESS"/>
  250. </node>
  251. </node>
  252. <node class="Noop" id="65"/>
  253. </node>
  254. </node>
  255. </behavior>