public static bool build_behavior_tree(BehaviorTree bt) { bt.SetClassNameString("BehaviorTree"); bt.SetId(-1); bt.SetName("node_test/PreconditionEffectorTest/PreconditionEffectorTest_3"); bt.IsFSM = false; #if !BEHAVIAC_RELEASE bt.SetAgentType("PreconEffectorAgent"); #endif // children { DecoratorLoop_bt_node_test_PreconditionEffectorTest_PreconditionEffectorTest_3_node7 node7 = new DecoratorLoop_bt_node_test_PreconditionEffectorTest_PreconditionEffectorTest_3_node7(); node7.SetClassNameString("DecoratorLoop"); node7.SetId(7); #if !BEHAVIAC_RELEASE node7.SetAgentType("PreconEffectorAgent"); #endif bt.AddChild(node7); { SelectorLoop node6 = new SelectorLoop(); node6.SetClassNameString("SelectorLoop"); node6.SetId(6); #if !BEHAVIAC_RELEASE node6.SetAgentType("PreconEffectorAgent"); #endif node7.AddChild(node6); { WithPrecondition node5 = new WithPrecondition(); node5.SetClassNameString("WithPrecondition"); node5.SetId(5); #if !BEHAVIAC_RELEASE node5.SetAgentType("PreconEffectorAgent"); #endif node6.AddChild(node5); { Condition_bt_node_test_PreconditionEffectorTest_PreconditionEffectorTest_3_node13 node13 = new Condition_bt_node_test_PreconditionEffectorTest_PreconditionEffectorTest_3_node13(); node13.SetClassNameString("Condition"); node13.SetId(13); #if !BEHAVIAC_RELEASE node13.SetAgentType("PreconEffectorAgent"); #endif node5.AddChild(node13); node5.SetHasEvents(node5.HasEvents() | node13.HasEvents()); } { Sequence node11 = new Sequence(); node11.SetClassNameString("Sequence"); node11.SetId(11); #if !BEHAVIAC_RELEASE node11.SetAgentType("PreconEffectorAgent"); #endif // attachments { Effector_bt_node_test_PreconditionEffectorTest_PreconditionEffectorTest_3_attach16 attach16 = new Effector_bt_node_test_PreconditionEffectorTest_PreconditionEffectorTest_3_attach16(); attach16.SetClassNameString("Effector"); attach16.SetId(16); #if !BEHAVIAC_RELEASE attach16.SetAgentType("PreconEffectorAgent"); #endif node11.Attach(attach16, false, true, false); } node5.AddChild(node11); { Action_bt_node_test_PreconditionEffectorTest_PreconditionEffectorTest_3_node4 node4 = new Action_bt_node_test_PreconditionEffectorTest_PreconditionEffectorTest_3_node4(); node4.SetClassNameString("Action"); node4.SetId(4); #if !BEHAVIAC_RELEASE node4.SetAgentType("PreconEffectorAgent"); #endif // attachments { Effector_bt_node_test_PreconditionEffectorTest_PreconditionEffectorTest_3_attach8 attach8 = new Effector_bt_node_test_PreconditionEffectorTest_PreconditionEffectorTest_3_attach8(); attach8.SetClassNameString("Effector"); attach8.SetId(8); #if !BEHAVIAC_RELEASE attach8.SetAgentType("PreconEffectorAgent"); #endif node4.Attach(attach8, false, true, false); } { Effector_bt_node_test_PreconditionEffectorTest_PreconditionEffectorTest_3_attach19 attach19 = new Effector_bt_node_test_PreconditionEffectorTest_PreconditionEffectorTest_3_attach19(); attach19.SetClassNameString("Effector"); attach19.SetId(19); #if !BEHAVIAC_RELEASE attach19.SetAgentType("PreconEffectorAgent"); #endif node4.Attach(attach19, false, true, false); } node11.AddChild(node4); node11.SetHasEvents(node11.HasEvents() | node4.HasEvents()); } { Action_bt_node_test_PreconditionEffectorTest_PreconditionEffectorTest_3_node9 node9 = new Action_bt_node_test_PreconditionEffectorTest_PreconditionEffectorTest_3_node9(); node9.SetClassNameString("Action"); node9.SetId(9); #if !BEHAVIAC_RELEASE node9.SetAgentType("PreconEffectorAgent"); #endif // attachments { Effector_bt_node_test_PreconditionEffectorTest_PreconditionEffectorTest_3_attach2 attach2 = new Effector_bt_node_test_PreconditionEffectorTest_PreconditionEffectorTest_3_attach2(); attach2.SetClassNameString("Effector"); attach2.SetId(2); #if !BEHAVIAC_RELEASE attach2.SetAgentType("PreconEffectorAgent"); #endif node9.Attach(attach2, false, true, false); } { Effector_bt_node_test_PreconditionEffectorTest_PreconditionEffectorTest_3_attach18 attach18 = new Effector_bt_node_test_PreconditionEffectorTest_PreconditionEffectorTest_3_attach18(); attach18.SetClassNameString("Effector"); attach18.SetId(18); #if !BEHAVIAC_RELEASE attach18.SetAgentType("PreconEffectorAgent"); #endif node9.Attach(attach18, false, true, false); } node11.AddChild(node9); node11.SetHasEvents(node11.HasEvents() | node9.HasEvents()); } node5.SetHasEvents(node5.HasEvents() | node11.HasEvents()); } node6.SetHasEvents(node6.HasEvents() | node5.HasEvents()); } { WithPrecondition node0 = new WithPrecondition(); node0.SetClassNameString("WithPrecondition"); node0.SetId(0); #if !BEHAVIAC_RELEASE node0.SetAgentType("PreconEffectorAgent"); #endif node6.AddChild(node0); { Condition_bt_node_test_PreconditionEffectorTest_PreconditionEffectorTest_3_node12 node12 = new Condition_bt_node_test_PreconditionEffectorTest_PreconditionEffectorTest_3_node12(); node12.SetClassNameString("Condition"); node12.SetId(12); #if !BEHAVIAC_RELEASE node12.SetAgentType("PreconEffectorAgent"); #endif node0.AddChild(node12); node0.SetHasEvents(node0.HasEvents() | node12.HasEvents()); } { Sequence node14 = new Sequence(); node14.SetClassNameString("Sequence"); node14.SetId(14); #if !BEHAVIAC_RELEASE node14.SetAgentType("PreconEffectorAgent"); #endif // attachments { Effector_bt_node_test_PreconditionEffectorTest_PreconditionEffectorTest_3_attach17 attach17 = new Effector_bt_node_test_PreconditionEffectorTest_PreconditionEffectorTest_3_attach17(); attach17.SetClassNameString("Effector"); attach17.SetId(17); #if !BEHAVIAC_RELEASE attach17.SetAgentType("PreconEffectorAgent"); #endif node14.Attach(attach17, false, true, false); } node0.AddChild(node14); { Action_bt_node_test_PreconditionEffectorTest_PreconditionEffectorTest_3_node10 node10 = new Action_bt_node_test_PreconditionEffectorTest_PreconditionEffectorTest_3_node10(); node10.SetClassNameString("Action"); node10.SetId(10); #if !BEHAVIAC_RELEASE node10.SetAgentType("PreconEffectorAgent"); #endif // attachments { Effector_bt_node_test_PreconditionEffectorTest_PreconditionEffectorTest_3_attach15 attach15 = new Effector_bt_node_test_PreconditionEffectorTest_PreconditionEffectorTest_3_attach15(); attach15.SetClassNameString("Effector"); attach15.SetId(15); #if !BEHAVIAC_RELEASE attach15.SetAgentType("PreconEffectorAgent"); #endif node10.Attach(attach15, false, true, false); } { Effector_bt_node_test_PreconditionEffectorTest_PreconditionEffectorTest_3_attach20 attach20 = new Effector_bt_node_test_PreconditionEffectorTest_PreconditionEffectorTest_3_attach20(); attach20.SetClassNameString("Effector"); attach20.SetId(20); #if !BEHAVIAC_RELEASE attach20.SetAgentType("PreconEffectorAgent"); #endif node10.Attach(attach20, false, true, false); } node14.AddChild(node10); node14.SetHasEvents(node14.HasEvents() | node10.HasEvents()); } { Action_bt_node_test_PreconditionEffectorTest_PreconditionEffectorTest_3_node1 node1 = new Action_bt_node_test_PreconditionEffectorTest_PreconditionEffectorTest_3_node1(); node1.SetClassNameString("Action"); node1.SetId(1); #if !BEHAVIAC_RELEASE node1.SetAgentType("PreconEffectorAgent"); #endif // attachments { Effector_bt_node_test_PreconditionEffectorTest_PreconditionEffectorTest_3_attach21 attach21 = new Effector_bt_node_test_PreconditionEffectorTest_PreconditionEffectorTest_3_attach21(); attach21.SetClassNameString("Effector"); attach21.SetId(21); #if !BEHAVIAC_RELEASE attach21.SetAgentType("PreconEffectorAgent"); #endif node1.Attach(attach21, false, true, false); } { Effector_bt_node_test_PreconditionEffectorTest_PreconditionEffectorTest_3_attach3 attach3 = new Effector_bt_node_test_PreconditionEffectorTest_PreconditionEffectorTest_3_attach3(); attach3.SetClassNameString("Effector"); attach3.SetId(3); #if !BEHAVIAC_RELEASE attach3.SetAgentType("PreconEffectorAgent"); #endif node1.Attach(attach3, false, true, false); } node14.AddChild(node1); node14.SetHasEvents(node14.HasEvents() | node1.HasEvents()); } node0.SetHasEvents(node0.HasEvents() | node14.HasEvents()); } node6.SetHasEvents(node6.HasEvents() | node0.HasEvents()); } node7.SetHasEvents(node7.HasEvents() | node6.HasEvents()); } bt.SetHasEvents(bt.HasEvents() | node7.HasEvents()); } return true; }
public static bool build_behavior_tree(BehaviorTree bt) { bt.SetClassNameString("BehaviorTree"); bt.SetId(-1); bt.SetName("node_test/selector_loop_ut_6"); bt.IsFSM = false; #if !BEHAVIAC_RELEASE bt.SetAgentType("AgentNodeTest"); #endif // children { DecoratorLoop_bt_node_test_selector_loop_ut_6_node9 node9 = new DecoratorLoop_bt_node_test_selector_loop_ut_6_node9(); node9.SetClassNameString("DecoratorLoop"); node9.SetId(9); #if !BEHAVIAC_RELEASE node9.SetAgentType("AgentNodeTest"); #endif bt.AddChild(node9); { SelectorLoop node0 = new SelectorLoop(); node0.SetClassNameString("SelectorLoop"); node0.SetId(0); #if !BEHAVIAC_RELEASE node0.SetAgentType("AgentNodeTest"); #endif node9.AddChild(node0); { WithPrecondition node1 = new WithPrecondition(); node1.SetClassNameString("WithPrecondition"); node1.SetId(1); #if !BEHAVIAC_RELEASE node1.SetAgentType("AgentNodeTest"); #endif node0.AddChild(node1); { Condition_bt_node_test_selector_loop_ut_6_node4 node4 = new Condition_bt_node_test_selector_loop_ut_6_node4(); node4.SetClassNameString("Condition"); node4.SetId(4); #if !BEHAVIAC_RELEASE node4.SetAgentType("AgentNodeTest"); #endif node1.AddChild(node4); node1.SetHasEvents(node1.HasEvents() | node4.HasEvents()); } { Action_bt_node_test_selector_loop_ut_6_node5 node5 = new Action_bt_node_test_selector_loop_ut_6_node5(); node5.SetClassNameString("Action"); node5.SetId(5); #if !BEHAVIAC_RELEASE node5.SetAgentType("AgentNodeTest"); #endif // attachments { Precondition_bt_node_test_selector_loop_ut_6_attach7 attach7 = new Precondition_bt_node_test_selector_loop_ut_6_attach7(); attach7.SetClassNameString("Precondition"); attach7.SetId(7); #if !BEHAVIAC_RELEASE attach7.SetAgentType("AgentNodeTest"); #endif node5.Attach(attach7, true, false, false); } node1.AddChild(node5); node1.SetHasEvents(node1.HasEvents() | node5.HasEvents()); } node0.SetHasEvents(node0.HasEvents() | node1.HasEvents()); } { WithPrecondition node2 = new WithPrecondition(); node2.SetClassNameString("WithPrecondition"); node2.SetId(2); #if !BEHAVIAC_RELEASE node2.SetAgentType("AgentNodeTest"); #endif node0.AddChild(node2); { True node3 = new True(); node3.SetClassNameString("True"); node3.SetId(3); #if !BEHAVIAC_RELEASE node3.SetAgentType("AgentNodeTest"); #endif node2.AddChild(node3); node2.SetHasEvents(node2.HasEvents() | node3.HasEvents()); } { Action_bt_node_test_selector_loop_ut_6_node6 node6 = new Action_bt_node_test_selector_loop_ut_6_node6(); node6.SetClassNameString("Action"); node6.SetId(6); #if !BEHAVIAC_RELEASE node6.SetAgentType("AgentNodeTest"); #endif // attachments { Precondition_bt_node_test_selector_loop_ut_6_attach8 attach8 = new Precondition_bt_node_test_selector_loop_ut_6_attach8(); attach8.SetClassNameString("Precondition"); attach8.SetId(8); #if !BEHAVIAC_RELEASE attach8.SetAgentType("AgentNodeTest"); #endif node6.Attach(attach8, true, false, false); } node2.AddChild(node6); node2.SetHasEvents(node2.HasEvents() | node6.HasEvents()); } node0.SetHasEvents(node0.HasEvents() | node2.HasEvents()); } node9.SetHasEvents(node9.HasEvents() | node0.HasEvents()); } bt.SetHasEvents(bt.HasEvents() | node9.HasEvents()); } return true; }
public static bool build_behavior_tree(BehaviorTree bt) { bt.SetClassNameString("BehaviorTree"); bt.SetId(-1); bt.SetName("node_test/selector_loop_ut_8"); bt.IsFSM = false; #if !BEHAVIAC_RELEASE bt.SetAgentType("AgentNodeTest"); #endif // children { Sequence node15 = new Sequence(); node15.SetClassNameString("Sequence"); node15.SetId(15); #if !BEHAVIAC_RELEASE node15.SetAgentType("AgentNodeTest"); #endif bt.AddChild(node15); { Action_bt_node_test_selector_loop_ut_8_node16 node16 = new Action_bt_node_test_selector_loop_ut_8_node16(); node16.SetClassNameString("Action"); node16.SetId(16); #if !BEHAVIAC_RELEASE node16.SetAgentType("AgentNodeTest"); #endif node15.AddChild(node16); node15.SetHasEvents(node15.HasEvents() | node16.HasEvents()); } { Assignment_bt_node_test_selector_loop_ut_8_node21 node21 = new Assignment_bt_node_test_selector_loop_ut_8_node21(); node21.SetClassNameString("Assignment"); node21.SetId(21); #if !BEHAVIAC_RELEASE node21.SetAgentType("AgentNodeTest"); #endif node15.AddChild(node21); node15.SetHasEvents(node15.HasEvents() | node21.HasEvents()); } { Selector node23 = new Selector(); node23.SetClassNameString("Selector"); node23.SetId(23); #if !BEHAVIAC_RELEASE node23.SetAgentType("AgentNodeTest"); #endif node15.AddChild(node23); { Selector node10 = new Selector(); node10.SetClassNameString("Selector"); node10.SetId(10); #if !BEHAVIAC_RELEASE node10.SetAgentType("AgentNodeTest"); #endif // attachments { Precondition_bt_node_test_selector_loop_ut_8_attach24 attach24 = new Precondition_bt_node_test_selector_loop_ut_8_attach24(); attach24.SetClassNameString("Precondition"); attach24.SetId(24); #if !BEHAVIAC_RELEASE attach24.SetAgentType("AgentNodeTest"); #endif node10.Attach(attach24, true, false, false); } node23.AddChild(node10); { DecoratorLoop_bt_node_test_selector_loop_ut_8_node9 node9 = new DecoratorLoop_bt_node_test_selector_loop_ut_8_node9(); node9.SetClassNameString("DecoratorLoop"); node9.SetId(9); #if !BEHAVIAC_RELEASE node9.SetAgentType("AgentNodeTest"); #endif // attachments { Precondition_bt_node_test_selector_loop_ut_8_attach14 attach14 = new Precondition_bt_node_test_selector_loop_ut_8_attach14(); attach14.SetClassNameString("Precondition"); attach14.SetId(14); #if !BEHAVIAC_RELEASE attach14.SetAgentType("AgentNodeTest"); #endif node9.Attach(attach14, true, false, false); } { Precondition_bt_node_test_selector_loop_ut_8_attach17 attach17 = new Precondition_bt_node_test_selector_loop_ut_8_attach17(); attach17.SetClassNameString("Precondition"); attach17.SetId(17); #if !BEHAVIAC_RELEASE attach17.SetAgentType("AgentNodeTest"); #endif node9.Attach(attach17, true, false, false); } { Effector_bt_node_test_selector_loop_ut_8_attach18 attach18 = new Effector_bt_node_test_selector_loop_ut_8_attach18(); attach18.SetClassNameString("Effector"); attach18.SetId(18); #if !BEHAVIAC_RELEASE attach18.SetAgentType("AgentNodeTest"); #endif node9.Attach(attach18, false, true, false); } node10.AddChild(node9); { SelectorLoop node0 = new SelectorLoop(); node0.SetClassNameString("SelectorLoop"); node0.SetId(0); #if !BEHAVIAC_RELEASE node0.SetAgentType("AgentNodeTest"); #endif node9.AddChild(node0); { WithPrecondition node1 = new WithPrecondition(); node1.SetClassNameString("WithPrecondition"); node1.SetId(1); #if !BEHAVIAC_RELEASE node1.SetAgentType("AgentNodeTest"); #endif node0.AddChild(node1); { Condition_bt_node_test_selector_loop_ut_8_node4 node4 = new Condition_bt_node_test_selector_loop_ut_8_node4(); node4.SetClassNameString("Condition"); node4.SetId(4); #if !BEHAVIAC_RELEASE node4.SetAgentType("AgentNodeTest"); #endif node1.AddChild(node4); node1.SetHasEvents(node1.HasEvents() | node4.HasEvents()); } { Action_bt_node_test_selector_loop_ut_8_node5 node5 = new Action_bt_node_test_selector_loop_ut_8_node5(); node5.SetClassNameString("Action"); node5.SetId(5); #if !BEHAVIAC_RELEASE node5.SetAgentType("AgentNodeTest"); #endif // attachments { Precondition_bt_node_test_selector_loop_ut_8_attach7 attach7 = new Precondition_bt_node_test_selector_loop_ut_8_attach7(); attach7.SetClassNameString("Precondition"); attach7.SetId(7); #if !BEHAVIAC_RELEASE attach7.SetAgentType("AgentNodeTest"); #endif node5.Attach(attach7, true, false, false); } node1.AddChild(node5); node1.SetHasEvents(node1.HasEvents() | node5.HasEvents()); } node0.SetHasEvents(node0.HasEvents() | node1.HasEvents()); } { WithPrecondition node2 = new WithPrecondition(); node2.SetClassNameString("WithPrecondition"); node2.SetId(2); #if !BEHAVIAC_RELEASE node2.SetAgentType("AgentNodeTest"); #endif node0.AddChild(node2); { True node3 = new True(); node3.SetClassNameString("True"); node3.SetId(3); #if !BEHAVIAC_RELEASE node3.SetAgentType("AgentNodeTest"); #endif node2.AddChild(node3); node2.SetHasEvents(node2.HasEvents() | node3.HasEvents()); } { Action_bt_node_test_selector_loop_ut_8_node6 node6 = new Action_bt_node_test_selector_loop_ut_8_node6(); node6.SetClassNameString("Action"); node6.SetId(6); #if !BEHAVIAC_RELEASE node6.SetAgentType("AgentNodeTest"); #endif // attachments { Precondition_bt_node_test_selector_loop_ut_8_attach8 attach8 = new Precondition_bt_node_test_selector_loop_ut_8_attach8(); attach8.SetClassNameString("Precondition"); attach8.SetId(8); #if !BEHAVIAC_RELEASE attach8.SetAgentType("AgentNodeTest"); #endif node6.Attach(attach8, true, false, false); } node2.AddChild(node6); node2.SetHasEvents(node2.HasEvents() | node6.HasEvents()); } node0.SetHasEvents(node0.HasEvents() | node2.HasEvents()); } node9.SetHasEvents(node9.HasEvents() | node0.HasEvents()); } node10.SetHasEvents(node10.HasEvents() | node9.HasEvents()); } { Sequence node11 = new Sequence(); node11.SetClassNameString("Sequence"); node11.SetId(11); #if !BEHAVIAC_RELEASE node11.SetAgentType("AgentNodeTest"); #endif // attachments { Precondition_bt_node_test_selector_loop_ut_8_attach19 attach19 = new Precondition_bt_node_test_selector_loop_ut_8_attach19(); attach19.SetClassNameString("Precondition"); attach19.SetId(19); #if !BEHAVIAC_RELEASE attach19.SetAgentType("AgentNodeTest"); #endif node11.Attach(attach19, true, false, false); } node10.AddChild(node11); { Action_bt_node_test_selector_loop_ut_8_node12 node12 = new Action_bt_node_test_selector_loop_ut_8_node12(); node12.SetClassNameString("Action"); node12.SetId(12); #if !BEHAVIAC_RELEASE node12.SetAgentType("AgentNodeTest"); #endif // attachments { Precondition_bt_node_test_selector_loop_ut_8_attach20 attach20 = new Precondition_bt_node_test_selector_loop_ut_8_attach20(); attach20.SetClassNameString("Precondition"); attach20.SetId(20); #if !BEHAVIAC_RELEASE attach20.SetAgentType("AgentNodeTest"); #endif node12.Attach(attach20, true, false, false); } node11.AddChild(node12); node11.SetHasEvents(node11.HasEvents() | node12.HasEvents()); } { Action_bt_node_test_selector_loop_ut_8_node13 node13 = new Action_bt_node_test_selector_loop_ut_8_node13(); node13.SetClassNameString("Action"); node13.SetId(13); #if !BEHAVIAC_RELEASE node13.SetAgentType("AgentNodeTest"); #endif // attachments { Precondition_bt_node_test_selector_loop_ut_8_attach22 attach22 = new Precondition_bt_node_test_selector_loop_ut_8_attach22(); attach22.SetClassNameString("Precondition"); attach22.SetId(22); #if !BEHAVIAC_RELEASE attach22.SetAgentType("AgentNodeTest"); #endif node13.Attach(attach22, true, false, false); } node11.AddChild(node13); node11.SetHasEvents(node11.HasEvents() | node13.HasEvents()); } node10.SetHasEvents(node10.HasEvents() | node11.HasEvents()); } node23.SetHasEvents(node23.HasEvents() | node10.HasEvents()); } { Assignment_bt_node_test_selector_loop_ut_8_node25 node25 = new Assignment_bt_node_test_selector_loop_ut_8_node25(); node25.SetClassNameString("Assignment"); node25.SetId(25); #if !BEHAVIAC_RELEASE node25.SetAgentType("AgentNodeTest"); #endif node23.AddChild(node25); node23.SetHasEvents(node23.HasEvents() | node25.HasEvents()); } node15.SetHasEvents(node15.HasEvents() | node23.HasEvents()); } { Compute_bt_node_test_selector_loop_ut_8_node26 node26 = new Compute_bt_node_test_selector_loop_ut_8_node26(); node26.SetClassNameString("Compute"); node26.SetId(26); #if !BEHAVIAC_RELEASE node26.SetAgentType("AgentNodeTest"); #endif node15.AddChild(node26); node15.SetHasEvents(node15.HasEvents() | node26.HasEvents()); } bt.SetHasEvents(bt.HasEvents() | node15.HasEvents()); } return true; }
public static bool build_behavior_tree(BehaviorTree bt) { bt.SetClassNameString("BehaviorTree"); bt.SetId(-1); bt.SetName("node_test/selector_loop_ut_5"); bt.IsFSM = false; #if !BEHAVIAC_RELEASE bt.SetAgentType("AgentNodeTest"); #endif // children { SelectorLoop node0 = new SelectorLoop(); node0.SetClassNameString("SelectorLoop"); node0.SetId(0); #if !BEHAVIAC_RELEASE node0.SetAgentType("AgentNodeTest"); #endif bt.AddChild(node0); { WithPrecondition node1 = new WithPrecondition(); node1.SetClassNameString("WithPrecondition"); node1.SetId(1); #if !BEHAVIAC_RELEASE node1.SetAgentType("AgentNodeTest"); #endif node0.AddChild(node1); { False node4 = new False(); node4.SetClassNameString("False"); node4.SetId(4); #if !BEHAVIAC_RELEASE node4.SetAgentType("AgentNodeTest"); #endif node1.AddChild(node4); node1.SetHasEvents(node1.HasEvents() | node4.HasEvents()); } { Action_bt_node_test_selector_loop_ut_5_node5 node5 = new Action_bt_node_test_selector_loop_ut_5_node5(); node5.SetClassNameString("Action"); node5.SetId(5); #if !BEHAVIAC_RELEASE node5.SetAgentType("AgentNodeTest"); #endif node1.AddChild(node5); node1.SetHasEvents(node1.HasEvents() | node5.HasEvents()); } node0.SetHasEvents(node0.HasEvents() | node1.HasEvents()); } { WithPrecondition node2 = new WithPrecondition(); node2.SetClassNameString("WithPrecondition"); node2.SetId(2); #if !BEHAVIAC_RELEASE node2.SetAgentType("AgentNodeTest"); #endif node0.AddChild(node2); { True node3 = new True(); node3.SetClassNameString("True"); node3.SetId(3); #if !BEHAVIAC_RELEASE node3.SetAgentType("AgentNodeTest"); #endif node2.AddChild(node3); node2.SetHasEvents(node2.HasEvents() | node3.HasEvents()); } { Action_bt_node_test_selector_loop_ut_5_node6 node6 = new Action_bt_node_test_selector_loop_ut_5_node6(); node6.SetClassNameString("Action"); node6.SetId(6); #if !BEHAVIAC_RELEASE node6.SetAgentType("AgentNodeTest"); #endif node2.AddChild(node6); node2.SetHasEvents(node2.HasEvents() | node6.HasEvents()); } node0.SetHasEvents(node0.HasEvents() | node2.HasEvents()); } { WithPrecondition node7 = new WithPrecondition(); node7.SetClassNameString("WithPrecondition"); node7.SetId(7); #if !BEHAVIAC_RELEASE node7.SetAgentType("AgentNodeTest"); #endif node0.AddChild(node7); { True node8 = new True(); node8.SetClassNameString("True"); node8.SetId(8); #if !BEHAVIAC_RELEASE node8.SetAgentType("AgentNodeTest"); #endif node7.AddChild(node8); node7.SetHasEvents(node7.HasEvents() | node8.HasEvents()); } { Action_bt_node_test_selector_loop_ut_5_node9 node9 = new Action_bt_node_test_selector_loop_ut_5_node9(); node9.SetClassNameString("Action"); node9.SetId(9); #if !BEHAVIAC_RELEASE node9.SetAgentType("AgentNodeTest"); #endif node7.AddChild(node9); node7.SetHasEvents(node7.HasEvents() | node9.HasEvents()); } node0.SetHasEvents(node0.HasEvents() | node7.HasEvents()); } bt.SetHasEvents(bt.HasEvents() | node0.HasEvents()); } return true; }