Gdn0CqpRPLX4.xml 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <behavior agenttype="red::RedBehaviacTree" name="Gdn0CqpRPLX4" 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::getCustomString(&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;开启&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="Action" id="10">
  39. <property Method="Self.red::RedBehaviacTree::notifyDevelopment(&quot;vrRb1wIvepOp&quot;,&quot;__ttbt__localVariableIndex_2&quot;)"/>
  40. <property ResultOption="BT_SUCCESS"/>
  41. </node>
  42. <node class="Assignment" id="11">
  43. <property CastRight="false"/>
  44. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  45. <property Opr="const string &quot;关闭&quot;"/>
  46. </node>
  47. <node class="Action" id="12">
  48. <property Method="Self.red::RedBehaviacTree::setCustomDataVar(&quot;alAbryOdpnGR&quot;,&quot;振动按钮状态&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  49. <property ResultOption="BT_SUCCESS"/>
  50. </node>
  51. </node>
  52. <node class="Sequence" id="13">
  53. <node class="Assignment" id="14">
  54. <property CastRight="false"/>
  55. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  56. <property Opr="const string &quot;振动被开启&quot;"/>
  57. </node>
  58. <node class="Action" id="15">
  59. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_3&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  60. <property ResultOption="BT_SUCCESS"/>
  61. </node>
  62. <node class="Action" id="16">
  63. <property Method="Self.red::RedBehaviacTree::notifyDevelopment(&quot;mOgoD0eaVQP0&quot;,&quot;__ttbt__localVariableIndex_3&quot;)"/>
  64. <property ResultOption="BT_SUCCESS"/>
  65. </node>
  66. <node class="Assignment" id="17">
  67. <property CastRight="false"/>
  68. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  69. <property Opr="const string &quot;开启&quot;"/>
  70. </node>
  71. <node class="Action" id="18">
  72. <property Method="Self.red::RedBehaviacTree::setCustomDataVar(&quot;gejsn7Ww0r6g&quot;,&quot;振动按钮状态&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  73. <property ResultOption="BT_SUCCESS"/>
  74. </node>
  75. </node>
  76. </node>
  77. <node class="Action" id="19">
  78. <property Method="Self.red::RedBehaviacTree::clearFunLocalMap()"/>
  79. <property ResultOption="BT_SUCCESS"/>
  80. </node>
  81. <node class="Action" id="20">
  82. <property Method="Self.red::RedBehaviacTree::customFunc(&quot;Xe4vO1bDeWEA&quot;,&quot;qY9hDfLp8mhM&quot;)"/>
  83. <property ResultOption="BT_SUCCESS"/>
  84. </node>
  85. <node class="Action" id="21">
  86. <property Method="Self.red::RedBehaviacTree::getTreeState()"/>
  87. <property ResultOption="BT_INVALID"/>
  88. </node>
  89. </node>
  90. </behavior>