public static bool build_behavior_tree(BehaviorTree bt) { bt.SetClassNameString("BehaviorTree"); bt.SetId(-1); bt.SetName("NullAction"); bt.IsFSM = false; #if !BEHAVIAC_RELEASE bt.SetAgentType("FirstAgent"); #endif // children { Noop node0 = new Noop(); node0.SetClassNameString("Noop"); node0.SetId(0); #if !BEHAVIAC_RELEASE node0.SetAgentType("FirstAgent"); #endif bt.AddChild(node0); bt.SetHasEvents(bt.HasEvents() | node0.HasEvents()); } return(true); }
public static bool build_behavior_tree(BehaviorTree bt) { bt.SetClassNameString("BehaviorTree"); bt.SetId(-1); bt.SetName("node_test/action_noop_ut_0"); bt.IsFSM = false; #if !BEHAVIAC_RELEASE bt.SetAgentType("AgentNodeTest"); #endif // children { Sequence node0 = new Sequence(); node0.SetClassNameString("Sequence"); node0.SetId(0); #if !BEHAVIAC_RELEASE node0.SetAgentType("AgentNodeTest"); #endif bt.AddChild(node0); { Noop node2 = new Noop(); node2.SetClassNameString("Noop"); node2.SetId(2); #if !BEHAVIAC_RELEASE node2.SetAgentType("AgentNodeTest"); #endif node0.AddChild(node2); node0.SetHasEvents(node0.HasEvents() | node2.HasEvents()); } { Noop node1 = new Noop(); node1.SetClassNameString("Noop"); node1.SetId(1); #if !BEHAVIAC_RELEASE node1.SetAgentType("AgentNodeTest"); #endif node0.AddChild(node1); node0.SetHasEvents(node0.HasEvents() | node1.HasEvents()); } { Assignment_bt_node_test_action_noop_ut_0_node4 node4 = new Assignment_bt_node_test_action_noop_ut_0_node4(); node4.SetClassNameString("Assignment"); node4.SetId(4); #if !BEHAVIAC_RELEASE node4.SetAgentType("AgentNodeTest"); #endif node0.AddChild(node4); node0.SetHasEvents(node0.HasEvents() | node4.HasEvents()); } { Noop node3 = new Noop(); node3.SetClassNameString("Noop"); node3.SetId(3); #if !BEHAVIAC_RELEASE node3.SetAgentType("AgentNodeTest"); #endif node0.AddChild(node3); node0.SetHasEvents(node0.HasEvents() | node3.HasEvents()); } bt.SetHasEvents(bt.HasEvents() | node0.HasEvents()); } return true; }
public static bool build_behavior_tree(BehaviorTree bt) { bt.SetClassNameString("BehaviorTree"); bt.SetId(-1); bt.SetName("par_test/par_as_ref_param"); bt.IsFSM = false; #if !BEHAVIAC_RELEASE bt.SetAgentType("EmployeeParTestAgent"); #endif // pars bt.AddPar("EmployeeParTestAgent", "bool", "par0_boolean_0", "false"); bt.AddPar("EmployeeParTestAgent", "vector<bool>", "par0_boolean_list_0", "0:"); bt.AddPar("EmployeeParTestAgent", "byte", "par0_byte_0", "0"); bt.AddPar("EmployeeParTestAgent", "vector<byte>", "par0_byte_list_0", "0:"); bt.AddPar("EmployeeParTestAgent", "char", "par0_char_0", "A"); bt.AddPar("EmployeeParTestAgent", "vector<char>", "par0_char_list_0", "0:"); bt.AddPar("EmployeeParTestAgent", "TNS.NE.NAT.eColor", "par0_ecolor_0", "WHITE"); bt.AddPar("EmployeeParTestAgent", "vector<TNS.NE.NAT.eColor>", "par0_ecolor_list_0", "0:"); bt.AddPar("EmployeeParTestAgent", "sbyte", "par0_sbyte_0", "0"); bt.AddPar("EmployeeParTestAgent", "vector<sbyte>", "par0_sbyte_list_0", "0:"); bt.AddPar("EmployeeParTestAgent", "short", "par1_short_0", "0"); bt.AddPar("EmployeeParTestAgent", "int", "par1_int_0", "0"); bt.AddPar("EmployeeParTestAgent", "vector<int>", "par1_int_list_0", "0:"); bt.AddPar("EmployeeParTestAgent", "long", "par1_long_0", "0"); bt.AddPar("EmployeeParTestAgent", "TNS.ST.PER.WRK.kEmployee", "par1_kemployee_0", "{boss=null;car={brand=\"\";color=RED;price=0;};code=c;id=0;isMale=false;name=\"tomlp\";skinColor=RED;weight=0;}"); bt.AddPar("EmployeeParTestAgent", "vector<TNS.ST.PER.WRK.kEmployee>", "par1_kemployee_list_0", "0:"); bt.AddPar("EmployeeParTestAgent", "ushort", "par1_ushort_0", "0"); bt.AddPar("EmployeeParTestAgent", "behaviac.Agent", "par2_agent_0", "null"); bt.AddPar("EmployeeParTestAgent", "vector<behaviac.Agent>", "par2_agent_list_0", "0:"); bt.AddPar("EmployeeParTestAgent", "double", "par2_double_0", "0"); bt.AddPar("EmployeeParTestAgent", "float", "par2_single_0", "0"); bt.AddPar("EmployeeParTestAgent", "vector<float>", "par2_single_list_0", "0:"); bt.AddPar("EmployeeParTestAgent", "string", "par2_string_0", ""); bt.AddPar("EmployeeParTestAgent", "vector<string>", "par2_string_list_0", "0:"); bt.AddPar("EmployeeParTestAgent", "uint", "par2_uint_0", "0"); bt.AddPar("EmployeeParTestAgent", "ulong", "par2_ulong_0", "0"); bt.AddPar("EmployeeParTestAgent", "string", "par2_SzString_0", "this is char* test"); bt.AddPar("EmployeeParTestAgent", "string", "par2_CSzStrng_0", "this is const char* test"); bt.AddPar("EmployeeParTestAgent", "long", "par2_longlong_0", "-666"); bt.AddPar("EmployeeParTestAgent", "ulong", "par2_ulonglong_0", "666"); // children { Sequence node13 = new Sequence(); node13.SetClassNameString("Sequence"); node13.SetId(13); #if !BEHAVIAC_RELEASE node13.SetAgentType("EmployeeParTestAgent"); #endif bt.AddChild(node13); { Sequence node30 = new Sequence(); node30.SetClassNameString("Sequence"); node30.SetId(30); #if !BEHAVIAC_RELEASE node30.SetAgentType("EmployeeParTestAgent"); #endif node13.AddChild(node30); { Sequence node1 = new Sequence(); node1.SetClassNameString("Sequence"); node1.SetId(1); #if !BEHAVIAC_RELEASE node1.SetAgentType("EmployeeParTestAgent"); #endif node30.AddChild(node1); { Action_bt_par_test_par_as_ref_param_node0 node0 = new Action_bt_par_test_par_as_ref_param_node0(); node0.SetClassNameString("Action"); node0.SetId(0); #if !BEHAVIAC_RELEASE node0.SetAgentType("EmployeeParTestAgent"); #endif node1.AddChild(node0); node1.SetHasEvents(node1.HasEvents() | node0.HasEvents()); } { Action_bt_par_test_par_as_ref_param_node17 node17 = new Action_bt_par_test_par_as_ref_param_node17(); node17.SetClassNameString("Action"); node17.SetId(17); #if !BEHAVIAC_RELEASE node17.SetAgentType("EmployeeParTestAgent"); #endif node1.AddChild(node17); node1.SetHasEvents(node1.HasEvents() | node17.HasEvents()); } { Action_bt_par_test_par_as_ref_param_node2 node2 = new Action_bt_par_test_par_as_ref_param_node2(); node2.SetClassNameString("Action"); node2.SetId(2); #if !BEHAVIAC_RELEASE node2.SetAgentType("EmployeeParTestAgent"); #endif node1.AddChild(node2); node1.SetHasEvents(node1.HasEvents() | node2.HasEvents()); } { Action_bt_par_test_par_as_ref_param_node3 node3 = new Action_bt_par_test_par_as_ref_param_node3(); node3.SetClassNameString("Action"); node3.SetId(3); #if !BEHAVIAC_RELEASE node3.SetAgentType("EmployeeParTestAgent"); #endif node1.AddChild(node3); node1.SetHasEvents(node1.HasEvents() | node3.HasEvents()); } { Action_bt_par_test_par_as_ref_param_node4 node4 = new Action_bt_par_test_par_as_ref_param_node4(); node4.SetClassNameString("Action"); node4.SetId(4); #if !BEHAVIAC_RELEASE node4.SetAgentType("EmployeeParTestAgent"); #endif node1.AddChild(node4); node1.SetHasEvents(node1.HasEvents() | node4.HasEvents()); } { Action_bt_par_test_par_as_ref_param_node5 node5 = new Action_bt_par_test_par_as_ref_param_node5(); node5.SetClassNameString("Action"); node5.SetId(5); #if !BEHAVIAC_RELEASE node5.SetAgentType("EmployeeParTestAgent"); #endif node1.AddChild(node5); node1.SetHasEvents(node1.HasEvents() | node5.HasEvents()); } { Action_bt_par_test_par_as_ref_param_node6 node6 = new Action_bt_par_test_par_as_ref_param_node6(); node6.SetClassNameString("Action"); node6.SetId(6); #if !BEHAVIAC_RELEASE node6.SetAgentType("EmployeeParTestAgent"); #endif node1.AddChild(node6); node1.SetHasEvents(node1.HasEvents() | node6.HasEvents()); } { Action_bt_par_test_par_as_ref_param_node7 node7 = new Action_bt_par_test_par_as_ref_param_node7(); node7.SetClassNameString("Action"); node7.SetId(7); #if !BEHAVIAC_RELEASE node7.SetAgentType("EmployeeParTestAgent"); #endif node1.AddChild(node7); node1.SetHasEvents(node1.HasEvents() | node7.HasEvents()); } { Action_bt_par_test_par_as_ref_param_node8 node8 = new Action_bt_par_test_par_as_ref_param_node8(); node8.SetClassNameString("Action"); node8.SetId(8); #if !BEHAVIAC_RELEASE node8.SetAgentType("EmployeeParTestAgent"); #endif node1.AddChild(node8); node1.SetHasEvents(node1.HasEvents() | node8.HasEvents()); } { Action_bt_par_test_par_as_ref_param_node35 node35 = new Action_bt_par_test_par_as_ref_param_node35(); node35.SetClassNameString("Action"); node35.SetId(35); #if !BEHAVIAC_RELEASE node35.SetAgentType("EmployeeParTestAgent"); #endif node1.AddChild(node35); node1.SetHasEvents(node1.HasEvents() | node35.HasEvents()); } { Action_bt_par_test_par_as_ref_param_node36 node36 = new Action_bt_par_test_par_as_ref_param_node36(); node36.SetClassNameString("Action"); node36.SetId(36); #if !BEHAVIAC_RELEASE node36.SetAgentType("EmployeeParTestAgent"); #endif node1.AddChild(node36); node1.SetHasEvents(node1.HasEvents() | node36.HasEvents()); } { Action_bt_par_test_par_as_ref_param_node31 node31 = new Action_bt_par_test_par_as_ref_param_node31(); node31.SetClassNameString("Action"); node31.SetId(31); #if !BEHAVIAC_RELEASE node31.SetAgentType("EmployeeParTestAgent"); #endif node1.AddChild(node31); node1.SetHasEvents(node1.HasEvents() | node31.HasEvents()); } { Action_bt_par_test_par_as_ref_param_node32 node32 = new Action_bt_par_test_par_as_ref_param_node32(); node32.SetClassNameString("Action"); node32.SetId(32); #if !BEHAVIAC_RELEASE node32.SetAgentType("EmployeeParTestAgent"); #endif node1.AddChild(node32); node1.SetHasEvents(node1.HasEvents() | node32.HasEvents()); } node30.SetHasEvents(node30.HasEvents() | node1.HasEvents()); } { Sequence node14 = new Sequence(); node14.SetClassNameString("Sequence"); node14.SetId(14); #if !BEHAVIAC_RELEASE node14.SetAgentType("EmployeeParTestAgent"); #endif node30.AddChild(node14); { Action_bt_par_test_par_as_ref_param_node9 node9 = new Action_bt_par_test_par_as_ref_param_node9(); node9.SetClassNameString("Action"); node9.SetId(9); #if !BEHAVIAC_RELEASE node9.SetAgentType("EmployeeParTestAgent"); #endif node14.AddChild(node9); node14.SetHasEvents(node14.HasEvents() | node9.HasEvents()); } { Action_bt_par_test_par_as_ref_param_node10 node10 = new Action_bt_par_test_par_as_ref_param_node10(); node10.SetClassNameString("Action"); node10.SetId(10); #if !BEHAVIAC_RELEASE node10.SetAgentType("EmployeeParTestAgent"); #endif node14.AddChild(node10); node14.SetHasEvents(node14.HasEvents() | node10.HasEvents()); } { Action_bt_par_test_par_as_ref_param_node11 node11 = new Action_bt_par_test_par_as_ref_param_node11(); node11.SetClassNameString("Action"); node11.SetId(11); #if !BEHAVIAC_RELEASE node11.SetAgentType("EmployeeParTestAgent"); #endif node14.AddChild(node11); node14.SetHasEvents(node14.HasEvents() | node11.HasEvents()); } { Action_bt_par_test_par_as_ref_param_node12 node12 = new Action_bt_par_test_par_as_ref_param_node12(); node12.SetClassNameString("Action"); node12.SetId(12); #if !BEHAVIAC_RELEASE node12.SetAgentType("EmployeeParTestAgent"); #endif node14.AddChild(node12); node14.SetHasEvents(node14.HasEvents() | node12.HasEvents()); } { Action_bt_par_test_par_as_ref_param_node18 node18 = new Action_bt_par_test_par_as_ref_param_node18(); node18.SetClassNameString("Action"); node18.SetId(18); #if !BEHAVIAC_RELEASE node18.SetAgentType("EmployeeParTestAgent"); #endif node14.AddChild(node18); node14.SetHasEvents(node14.HasEvents() | node18.HasEvents()); } { Action_bt_par_test_par_as_ref_param_node19 node19 = new Action_bt_par_test_par_as_ref_param_node19(); node19.SetClassNameString("Action"); node19.SetId(19); #if !BEHAVIAC_RELEASE node19.SetAgentType("EmployeeParTestAgent"); #endif node14.AddChild(node19); node14.SetHasEvents(node14.HasEvents() | node19.HasEvents()); } { Action_bt_par_test_par_as_ref_param_node20 node20 = new Action_bt_par_test_par_as_ref_param_node20(); node20.SetClassNameString("Action"); node20.SetId(20); #if !BEHAVIAC_RELEASE node20.SetAgentType("EmployeeParTestAgent"); #endif node14.AddChild(node20); node14.SetHasEvents(node14.HasEvents() | node20.HasEvents()); } node30.SetHasEvents(node30.HasEvents() | node14.HasEvents()); } { Sequence node22 = new Sequence(); node22.SetClassNameString("Sequence"); node22.SetId(22); #if !BEHAVIAC_RELEASE node22.SetAgentType("EmployeeParTestAgent"); #endif node30.AddChild(node22); { Action_bt_par_test_par_as_ref_param_node16 node16 = new Action_bt_par_test_par_as_ref_param_node16(); node16.SetClassNameString("Action"); node16.SetId(16); #if !BEHAVIAC_RELEASE node16.SetAgentType("EmployeeParTestAgent"); #endif node22.AddChild(node16); node22.SetHasEvents(node22.HasEvents() | node16.HasEvents()); } { Action_bt_par_test_par_as_ref_param_node21 node21 = new Action_bt_par_test_par_as_ref_param_node21(); node21.SetClassNameString("Action"); node21.SetId(21); #if !BEHAVIAC_RELEASE node21.SetAgentType("EmployeeParTestAgent"); #endif node22.AddChild(node21); node22.SetHasEvents(node22.HasEvents() | node21.HasEvents()); } { Action_bt_par_test_par_as_ref_param_node15 node15 = new Action_bt_par_test_par_as_ref_param_node15(); node15.SetClassNameString("Action"); node15.SetId(15); #if !BEHAVIAC_RELEASE node15.SetAgentType("EmployeeParTestAgent"); #endif node22.AddChild(node15); node22.SetHasEvents(node22.HasEvents() | node15.HasEvents()); } { Action_bt_par_test_par_as_ref_param_node29 node29 = new Action_bt_par_test_par_as_ref_param_node29(); node29.SetClassNameString("Action"); node29.SetId(29); #if !BEHAVIAC_RELEASE node29.SetAgentType("EmployeeParTestAgent"); #endif node22.AddChild(node29); node22.SetHasEvents(node22.HasEvents() | node29.HasEvents()); } { Action_bt_par_test_par_as_ref_param_node26 node26 = new Action_bt_par_test_par_as_ref_param_node26(); node26.SetClassNameString("Action"); node26.SetId(26); #if !BEHAVIAC_RELEASE node26.SetAgentType("EmployeeParTestAgent"); #endif node22.AddChild(node26); node22.SetHasEvents(node22.HasEvents() | node26.HasEvents()); } { Action_bt_par_test_par_as_ref_param_node27 node27 = new Action_bt_par_test_par_as_ref_param_node27(); node27.SetClassNameString("Action"); node27.SetId(27); #if !BEHAVIAC_RELEASE node27.SetAgentType("EmployeeParTestAgent"); #endif node22.AddChild(node27); node22.SetHasEvents(node22.HasEvents() | node27.HasEvents()); } { Action_bt_par_test_par_as_ref_param_node24 node24 = new Action_bt_par_test_par_as_ref_param_node24(); node24.SetClassNameString("Action"); node24.SetId(24); #if !BEHAVIAC_RELEASE node24.SetAgentType("EmployeeParTestAgent"); #endif node22.AddChild(node24); node22.SetHasEvents(node22.HasEvents() | node24.HasEvents()); } { Action_bt_par_test_par_as_ref_param_node25 node25 = new Action_bt_par_test_par_as_ref_param_node25(); node25.SetClassNameString("Action"); node25.SetId(25); #if !BEHAVIAC_RELEASE node25.SetAgentType("EmployeeParTestAgent"); #endif node22.AddChild(node25); node22.SetHasEvents(node22.HasEvents() | node25.HasEvents()); } { Action_bt_par_test_par_as_ref_param_node23 node23 = new Action_bt_par_test_par_as_ref_param_node23(); node23.SetClassNameString("Action"); node23.SetId(23); #if !BEHAVIAC_RELEASE node23.SetAgentType("EmployeeParTestAgent"); #endif node22.AddChild(node23); node22.SetHasEvents(node22.HasEvents() | node23.HasEvents()); } { Action_bt_par_test_par_as_ref_param_node28 node28 = new Action_bt_par_test_par_as_ref_param_node28(); node28.SetClassNameString("Action"); node28.SetId(28); #if !BEHAVIAC_RELEASE node28.SetAgentType("EmployeeParTestAgent"); #endif node22.AddChild(node28); node22.SetHasEvents(node22.HasEvents() | node28.HasEvents()); } node30.SetHasEvents(node30.HasEvents() | node22.HasEvents()); } node13.SetHasEvents(node13.HasEvents() | node30.HasEvents()); } { DecoratorLoop_bt_par_test_par_as_ref_param_node33 node33 = new DecoratorLoop_bt_par_test_par_as_ref_param_node33(); node33.SetClassNameString("DecoratorLoop"); node33.SetId(33); #if !BEHAVIAC_RELEASE node33.SetAgentType("EmployeeParTestAgent"); #endif node13.AddChild(node33); { Noop node34 = new Noop(); node34.SetClassNameString("Noop"); node34.SetId(34); #if !BEHAVIAC_RELEASE node34.SetAgentType("EmployeeParTestAgent"); #endif node33.AddChild(node34); node33.SetHasEvents(node33.HasEvents() | node34.HasEvents()); } node13.SetHasEvents(node13.HasEvents() | node33.HasEvents()); } bt.SetHasEvents(bt.HasEvents() | node13.HasEvents()); } return true; }
public static bool build_behavior_tree(BehaviorTree bt) { bt.SetClassNameString("BehaviorTree"); bt.SetId(-1); bt.SetName("par_test/par_as_left_value_and_param"); bt.IsFSM = false; #if !BEHAVIAC_RELEASE bt.SetAgentType("EmployeeParTestAgent"); #endif // pars bt.AddPar("EmployeeParTestAgent", "double", "par2_double_0", "5.7"); bt.AddPar("EmployeeParTestAgent", "float", "par2_single_0", "98.2"); bt.AddPar("EmployeeParTestAgent", "vector<float>", "par2_single_list_0", "2:5.1|6.2"); bt.AddPar("EmployeeParTestAgent", "string", "par2_string_0", "origin"); bt.AddPar("EmployeeParTestAgent", "vector<string>", "par2_string_list_0", "4:\"string0\"|\"string1\"|\"string2\"|\"string3\""); bt.AddPar("EmployeeParTestAgent", "uint", "par2_uint_0", "9"); bt.AddPar("EmployeeParTestAgent", "ulong", "par2_ulong_0", "300"); bt.AddPar("EmployeeParTestAgent", "short", "par1_short_0", "78"); bt.AddPar("EmployeeParTestAgent", "int", "par1_int_0", "-3"); bt.AddPar("EmployeeParTestAgent", "vector<int>", "par1_int_list_0", "3:9999|12345|0"); bt.AddPar("EmployeeParTestAgent", "long", "par1_long_0", "1500"); bt.AddPar("EmployeeParTestAgent", "vector<TNS.ST.PER.WRK.kEmployee>", "par1_kemployee_list_0", "1:{boss=null;car={brand=\"Lexus\";color=BLUE;price=93840;};code=q;id=9;isMale=true;name=\"John\";skinColor=GREEN;weight=110;}"); bt.AddPar("EmployeeParTestAgent", "ushort", "par1_ushort_0", "2001"); bt.AddPar("EmployeeParTestAgent", "bool", "par0_boolean_0", "true"); bt.AddPar("EmployeeParTestAgent", "vector<bool>", "par0_boolean_list_0", "2:false|true"); bt.AddPar("EmployeeParTestAgent", "TNS.NE.NAT.eColor", "par0_ecolor_0", "YELLOW"); bt.AddPar("EmployeeParTestAgent", "vector<TNS.NE.NAT.eColor>", "par0_ecolor_list_0", "2:RED|GREEN"); bt.AddPar("EmployeeParTestAgent", "behaviac.Agent", "par2_agent_0", "null"); bt.AddPar("EmployeeParTestAgent", "vector<behaviac.Agent>", "par2_agent_list_0", "2:null|null"); bt.AddPar("EmployeeParTestAgent", "char", "par0_char_0", "A"); bt.AddPar("EmployeeParTestAgent", "TNS.ST.PER.WRK.kEmployee", "par1_kemployee_0", "{boss=null;car={brand=\"Alpha\";color=WHITE;price=5700;};code=A;id=83;isMale=false;name=\"Tom\";skinColor=RED;weight=97.3;}"); bt.AddPar("EmployeeParTestAgent", "byte", "par0_byte_0", "197"); bt.AddPar("EmployeeParTestAgent", "sbyte", "par0_sbyte_0", "-60"); bt.AddPar("EmployeeParTestAgent", "vector<char>", "par0_char_list_0", "4:d|j|F|A"); bt.AddPar("EmployeeParTestAgent", "vector<sbyte>", "par0_sbyte_list_0", "3:127|-128|0"); bt.AddPar("EmployeeParTestAgent", "vector<byte>", "par0_byte_list_0", "3:167|23|152"); bt.AddPar("EmployeeParTestAgent", "ParTestAgentBase", "par2_ParTestAgentBase_0", "null"); bt.AddPar("EmployeeParTestAgent", "vector<ParTestAgentBase>", "par2_ParTestAgentBaseList_0", "2:null|null"); bt.AddPar("EmployeeParTestAgent", "long", "par2_longlong_0", "-666"); bt.AddPar("EmployeeParTestAgent", "ulong", "par2_ulonglong_0", "666"); bt.AddPar("EmployeeParTestAgent", "string", "par2_SzString_0", "this is char* test"); bt.AddPar("EmployeeParTestAgent", "string", "par2_CSzString_0", "this is const char* test"); // children { Sequence node32 = new Sequence(); node32.SetClassNameString("Sequence"); node32.SetId(32); #if !BEHAVIAC_RELEASE node32.SetAgentType("EmployeeParTestAgent"); #endif bt.AddChild(node32); { Sequence node13 = new Sequence(); node13.SetClassNameString("Sequence"); node13.SetId(13); #if !BEHAVIAC_RELEASE node13.SetAgentType("EmployeeParTestAgent"); #endif node32.AddChild(node13); { Sequence node1 = new Sequence(); node1.SetClassNameString("Sequence"); node1.SetId(1); #if !BEHAVIAC_RELEASE node1.SetAgentType("EmployeeParTestAgent"); #endif node13.AddChild(node1); { Assignment_bt_par_test_par_as_left_value_and_param_node0 node0 = new Assignment_bt_par_test_par_as_left_value_and_param_node0(); node0.SetClassNameString("Assignment"); node0.SetId(0); #if !BEHAVIAC_RELEASE node0.SetAgentType("EmployeeParTestAgent"); #endif node1.AddChild(node0); node1.SetHasEvents(node1.HasEvents() | node0.HasEvents()); } { Assignment_bt_par_test_par_as_left_value_and_param_node30 node30 = new Assignment_bt_par_test_par_as_left_value_and_param_node30(); node30.SetClassNameString("Assignment"); node30.SetId(30); #if !BEHAVIAC_RELEASE node30.SetAgentType("EmployeeParTestAgent"); #endif node1.AddChild(node30); node1.SetHasEvents(node1.HasEvents() | node30.HasEvents()); } { Assignment_bt_par_test_par_as_left_value_and_param_node15 node15 = new Assignment_bt_par_test_par_as_left_value_and_param_node15(); node15.SetClassNameString("Assignment"); node15.SetId(15); #if !BEHAVIAC_RELEASE node15.SetAgentType("EmployeeParTestAgent"); #endif node1.AddChild(node15); node1.SetHasEvents(node1.HasEvents() | node15.HasEvents()); } { Assignment_bt_par_test_par_as_left_value_and_param_node31 node31 = new Assignment_bt_par_test_par_as_left_value_and_param_node31(); node31.SetClassNameString("Assignment"); node31.SetId(31); #if !BEHAVIAC_RELEASE node31.SetAgentType("EmployeeParTestAgent"); #endif node1.AddChild(node31); node1.SetHasEvents(node1.HasEvents() | node31.HasEvents()); } { Assignment_bt_par_test_par_as_left_value_and_param_node2 node2 = new Assignment_bt_par_test_par_as_left_value_and_param_node2(); node2.SetClassNameString("Assignment"); node2.SetId(2); #if !BEHAVIAC_RELEASE node2.SetAgentType("EmployeeParTestAgent"); #endif node1.AddChild(node2); node1.SetHasEvents(node1.HasEvents() | node2.HasEvents()); } { Assignment_bt_par_test_par_as_left_value_and_param_node3 node3 = new Assignment_bt_par_test_par_as_left_value_and_param_node3(); node3.SetClassNameString("Assignment"); node3.SetId(3); #if !BEHAVIAC_RELEASE node3.SetAgentType("EmployeeParTestAgent"); #endif node1.AddChild(node3); node1.SetHasEvents(node1.HasEvents() | node3.HasEvents()); } { Assignment_bt_par_test_par_as_left_value_and_param_node4 node4 = new Assignment_bt_par_test_par_as_left_value_and_param_node4(); node4.SetClassNameString("Assignment"); node4.SetId(4); #if !BEHAVIAC_RELEASE node4.SetAgentType("EmployeeParTestAgent"); #endif node1.AddChild(node4); node1.SetHasEvents(node1.HasEvents() | node4.HasEvents()); } { Assignment_bt_par_test_par_as_left_value_and_param_node5 node5 = new Assignment_bt_par_test_par_as_left_value_and_param_node5(); node5.SetClassNameString("Assignment"); node5.SetId(5); #if !BEHAVIAC_RELEASE node5.SetAgentType("EmployeeParTestAgent"); #endif node1.AddChild(node5); node1.SetHasEvents(node1.HasEvents() | node5.HasEvents()); } { Assignment_bt_par_test_par_as_left_value_and_param_node6 node6 = new Assignment_bt_par_test_par_as_left_value_and_param_node6(); node6.SetClassNameString("Assignment"); node6.SetId(6); #if !BEHAVIAC_RELEASE node6.SetAgentType("EmployeeParTestAgent"); #endif node1.AddChild(node6); node1.SetHasEvents(node1.HasEvents() | node6.HasEvents()); } { Assignment_bt_par_test_par_as_left_value_and_param_node7 node7 = new Assignment_bt_par_test_par_as_left_value_and_param_node7(); node7.SetClassNameString("Assignment"); node7.SetId(7); #if !BEHAVIAC_RELEASE node7.SetAgentType("EmployeeParTestAgent"); #endif node1.AddChild(node7); node1.SetHasEvents(node1.HasEvents() | node7.HasEvents()); } { Assignment_bt_par_test_par_as_left_value_and_param_node8 node8 = new Assignment_bt_par_test_par_as_left_value_and_param_node8(); node8.SetClassNameString("Assignment"); node8.SetId(8); #if !BEHAVIAC_RELEASE node8.SetAgentType("EmployeeParTestAgent"); #endif node1.AddChild(node8); node1.SetHasEvents(node1.HasEvents() | node8.HasEvents()); } { Assignment_bt_par_test_par_as_left_value_and_param_node35 node35 = new Assignment_bt_par_test_par_as_left_value_and_param_node35(); node35.SetClassNameString("Assignment"); node35.SetId(35); #if !BEHAVIAC_RELEASE node35.SetAgentType("EmployeeParTestAgent"); #endif node1.AddChild(node35); node1.SetHasEvents(node1.HasEvents() | node35.HasEvents()); } { Assignment_bt_par_test_par_as_left_value_and_param_node36 node36 = new Assignment_bt_par_test_par_as_left_value_and_param_node36(); node36.SetClassNameString("Assignment"); node36.SetId(36); #if !BEHAVIAC_RELEASE node36.SetAgentType("EmployeeParTestAgent"); #endif node1.AddChild(node36); node1.SetHasEvents(node1.HasEvents() | node36.HasEvents()); } { Assignment_bt_par_test_par_as_left_value_and_param_node37 node37 = new Assignment_bt_par_test_par_as_left_value_and_param_node37(); node37.SetClassNameString("Assignment"); node37.SetId(37); #if !BEHAVIAC_RELEASE node37.SetAgentType("EmployeeParTestAgent"); #endif node1.AddChild(node37); node1.SetHasEvents(node1.HasEvents() | node37.HasEvents()); } node13.SetHasEvents(node13.HasEvents() | node1.HasEvents()); } { Sequence node14 = new Sequence(); node14.SetClassNameString("Sequence"); node14.SetId(14); #if !BEHAVIAC_RELEASE node14.SetAgentType("EmployeeParTestAgent"); #endif node13.AddChild(node14); { Assignment_bt_par_test_par_as_left_value_and_param_node9 node9 = new Assignment_bt_par_test_par_as_left_value_and_param_node9(); node9.SetClassNameString("Assignment"); node9.SetId(9); #if !BEHAVIAC_RELEASE node9.SetAgentType("EmployeeParTestAgent"); #endif node14.AddChild(node9); node14.SetHasEvents(node14.HasEvents() | node9.HasEvents()); } { Assignment_bt_par_test_par_as_left_value_and_param_node10 node10 = new Assignment_bt_par_test_par_as_left_value_and_param_node10(); node10.SetClassNameString("Assignment"); node10.SetId(10); #if !BEHAVIAC_RELEASE node10.SetAgentType("EmployeeParTestAgent"); #endif node14.AddChild(node10); node14.SetHasEvents(node14.HasEvents() | node10.HasEvents()); } { Assignment_bt_par_test_par_as_left_value_and_param_node11 node11 = new Assignment_bt_par_test_par_as_left_value_and_param_node11(); node11.SetClassNameString("Assignment"); node11.SetId(11); #if !BEHAVIAC_RELEASE node11.SetAgentType("EmployeeParTestAgent"); #endif node14.AddChild(node11); node14.SetHasEvents(node14.HasEvents() | node11.HasEvents()); } { Assignment_bt_par_test_par_as_left_value_and_param_node12 node12 = new Assignment_bt_par_test_par_as_left_value_and_param_node12(); node12.SetClassNameString("Assignment"); node12.SetId(12); #if !BEHAVIAC_RELEASE node12.SetAgentType("EmployeeParTestAgent"); #endif node14.AddChild(node12); node14.SetHasEvents(node14.HasEvents() | node12.HasEvents()); } { Assignment_bt_par_test_par_as_left_value_and_param_node17 node17 = new Assignment_bt_par_test_par_as_left_value_and_param_node17(); node17.SetClassNameString("Assignment"); node17.SetId(17); #if !BEHAVIAC_RELEASE node17.SetAgentType("EmployeeParTestAgent"); #endif node14.AddChild(node17); node14.SetHasEvents(node14.HasEvents() | node17.HasEvents()); } { Assignment_bt_par_test_par_as_left_value_and_param_node19 node19 = new Assignment_bt_par_test_par_as_left_value_and_param_node19(); node19.SetClassNameString("Assignment"); node19.SetId(19); #if !BEHAVIAC_RELEASE node19.SetAgentType("EmployeeParTestAgent"); #endif node14.AddChild(node19); node14.SetHasEvents(node14.HasEvents() | node19.HasEvents()); } { Assignment_bt_par_test_par_as_left_value_and_param_node18 node18 = new Assignment_bt_par_test_par_as_left_value_and_param_node18(); node18.SetClassNameString("Assignment"); node18.SetId(18); #if !BEHAVIAC_RELEASE node18.SetAgentType("EmployeeParTestAgent"); #endif node14.AddChild(node18); node14.SetHasEvents(node14.HasEvents() | node18.HasEvents()); } node13.SetHasEvents(node13.HasEvents() | node14.HasEvents()); } { Sequence node22 = new Sequence(); node22.SetClassNameString("Sequence"); node22.SetId(22); #if !BEHAVIAC_RELEASE node22.SetAgentType("EmployeeParTestAgent"); #endif node13.AddChild(node22); { Assignment_bt_par_test_par_as_left_value_and_param_node16 node16 = new Assignment_bt_par_test_par_as_left_value_and_param_node16(); node16.SetClassNameString("Assignment"); node16.SetId(16); #if !BEHAVIAC_RELEASE node16.SetAgentType("EmployeeParTestAgent"); #endif node22.AddChild(node16); node22.SetHasEvents(node22.HasEvents() | node16.HasEvents()); } { Assignment_bt_par_test_par_as_left_value_and_param_node20 node20 = new Assignment_bt_par_test_par_as_left_value_and_param_node20(); node20.SetClassNameString("Assignment"); node20.SetId(20); #if !BEHAVIAC_RELEASE node20.SetAgentType("EmployeeParTestAgent"); #endif node22.AddChild(node20); node22.SetHasEvents(node22.HasEvents() | node20.HasEvents()); } { Assignment_bt_par_test_par_as_left_value_and_param_node24 node24 = new Assignment_bt_par_test_par_as_left_value_and_param_node24(); node24.SetClassNameString("Assignment"); node24.SetId(24); #if !BEHAVIAC_RELEASE node24.SetAgentType("EmployeeParTestAgent"); #endif node22.AddChild(node24); node22.SetHasEvents(node22.HasEvents() | node24.HasEvents()); } { Assignment_bt_par_test_par_as_left_value_and_param_node25 node25 = new Assignment_bt_par_test_par_as_left_value_and_param_node25(); node25.SetClassNameString("Assignment"); node25.SetId(25); #if !BEHAVIAC_RELEASE node25.SetAgentType("EmployeeParTestAgent"); #endif node22.AddChild(node25); node22.SetHasEvents(node22.HasEvents() | node25.HasEvents()); } { Assignment_bt_par_test_par_as_left_value_and_param_node26 node26 = new Assignment_bt_par_test_par_as_left_value_and_param_node26(); node26.SetClassNameString("Assignment"); node26.SetId(26); #if !BEHAVIAC_RELEASE node26.SetAgentType("EmployeeParTestAgent"); #endif node22.AddChild(node26); node22.SetHasEvents(node22.HasEvents() | node26.HasEvents()); } { Assignment_bt_par_test_par_as_left_value_and_param_node27 node27 = new Assignment_bt_par_test_par_as_left_value_and_param_node27(); node27.SetClassNameString("Assignment"); node27.SetId(27); #if !BEHAVIAC_RELEASE node27.SetAgentType("EmployeeParTestAgent"); #endif node22.AddChild(node27); node22.SetHasEvents(node22.HasEvents() | node27.HasEvents()); } { Assignment_bt_par_test_par_as_left_value_and_param_node21 node21 = new Assignment_bt_par_test_par_as_left_value_and_param_node21(); node21.SetClassNameString("Assignment"); node21.SetId(21); #if !BEHAVIAC_RELEASE node21.SetAgentType("EmployeeParTestAgent"); #endif node22.AddChild(node21); node22.SetHasEvents(node22.HasEvents() | node21.HasEvents()); } { Assignment_bt_par_test_par_as_left_value_and_param_node23 node23 = new Assignment_bt_par_test_par_as_left_value_and_param_node23(); node23.SetClassNameString("Assignment"); node23.SetId(23); #if !BEHAVIAC_RELEASE node23.SetAgentType("EmployeeParTestAgent"); #endif node22.AddChild(node23); node22.SetHasEvents(node22.HasEvents() | node23.HasEvents()); } { Assignment_bt_par_test_par_as_left_value_and_param_node28 node28 = new Assignment_bt_par_test_par_as_left_value_and_param_node28(); node28.SetClassNameString("Assignment"); node28.SetId(28); #if !BEHAVIAC_RELEASE node28.SetAgentType("EmployeeParTestAgent"); #endif node22.AddChild(node28); node22.SetHasEvents(node22.HasEvents() | node28.HasEvents()); } { Assignment_bt_par_test_par_as_left_value_and_param_node29 node29 = new Assignment_bt_par_test_par_as_left_value_and_param_node29(); node29.SetClassNameString("Assignment"); node29.SetId(29); #if !BEHAVIAC_RELEASE node29.SetAgentType("EmployeeParTestAgent"); #endif node22.AddChild(node29); node22.SetHasEvents(node22.HasEvents() | node29.HasEvents()); } node13.SetHasEvents(node13.HasEvents() | node22.HasEvents()); } node32.SetHasEvents(node32.HasEvents() | node13.HasEvents()); } { DecoratorLoop_bt_par_test_par_as_left_value_and_param_node33 node33 = new DecoratorLoop_bt_par_test_par_as_left_value_and_param_node33(); node33.SetClassNameString("DecoratorLoop"); node33.SetId(33); #if !BEHAVIAC_RELEASE node33.SetAgentType("EmployeeParTestAgent"); #endif node32.AddChild(node33); { Noop node34 = new Noop(); node34.SetClassNameString("Noop"); node34.SetId(34); #if !BEHAVIAC_RELEASE node34.SetAgentType("EmployeeParTestAgent"); #endif node33.AddChild(node34); node33.SetHasEvents(node33.HasEvents() | node34.HasEvents()); } node32.SetHasEvents(node32.HasEvents() | node33.HasEvents()); } bt.SetHasEvents(bt.HasEvents() | node32.HasEvents()); } return true; }
public static bool build_behavior_tree(BehaviorTree bt) { bt.SetClassNameString("BehaviorTree"); bt.SetId(-1); bt.SetName("par_test/local_out_scope"); bt.IsFSM = false; #if !BEHAVIAC_RELEASE bt.SetAgentType("CustomPropertyAgent"); #endif // pars bt.AddPar("CustomPropertyAgent", "vector<int>", "l_IntArray", "2:2|3"); // children { Sequence node5 = new Sequence(); node5.SetClassNameString("Sequence"); node5.SetId(5); #if !BEHAVIAC_RELEASE node5.SetAgentType("CustomPropertyAgent"); #endif bt.AddChild(node5); { Sequence node13 = new Sequence(); node13.SetClassNameString("Sequence"); node13.SetId(13); #if !BEHAVIAC_RELEASE node13.SetAgentType("CustomPropertyAgent"); #endif node5.AddChild(node13); { Assignment_bt_par_test_local_out_scope_node0 node0 = new Assignment_bt_par_test_local_out_scope_node0(); node0.SetClassNameString("Assignment"); node0.SetId(0); #if !BEHAVIAC_RELEASE node0.SetAgentType("CustomPropertyAgent"); #endif node13.AddChild(node0); node13.SetHasEvents(node13.HasEvents() | node0.HasEvents()); } { Assignment_bt_par_test_local_out_scope_node1 node1 = new Assignment_bt_par_test_local_out_scope_node1(); node1.SetClassNameString("Assignment"); node1.SetId(1); #if !BEHAVIAC_RELEASE node1.SetAgentType("CustomPropertyAgent"); #endif node13.AddChild(node1); node13.SetHasEvents(node13.HasEvents() | node1.HasEvents()); } { Assignment_bt_par_test_local_out_scope_node2 node2 = new Assignment_bt_par_test_local_out_scope_node2(); node2.SetClassNameString("Assignment"); node2.SetId(2); #if !BEHAVIAC_RELEASE node2.SetAgentType("CustomPropertyAgent"); #endif node13.AddChild(node2); node13.SetHasEvents(node13.HasEvents() | node2.HasEvents()); } { Assignment_bt_par_test_local_out_scope_node3 node3 = new Assignment_bt_par_test_local_out_scope_node3(); node3.SetClassNameString("Assignment"); node3.SetId(3); #if !BEHAVIAC_RELEASE node3.SetAgentType("CustomPropertyAgent"); #endif node13.AddChild(node3); node13.SetHasEvents(node13.HasEvents() | node3.HasEvents()); } node5.SetHasEvents(node5.HasEvents() | node13.HasEvents()); } { DecoratorLoop_bt_par_test_local_out_scope_node6 node6 = new DecoratorLoop_bt_par_test_local_out_scope_node6(); node6.SetClassNameString("DecoratorLoop"); node6.SetId(6); #if !BEHAVIAC_RELEASE node6.SetAgentType("CustomPropertyAgent"); #endif node5.AddChild(node6); { Noop node7 = new Noop(); node7.SetClassNameString("Noop"); node7.SetId(7); #if !BEHAVIAC_RELEASE node7.SetAgentType("CustomPropertyAgent"); #endif node6.AddChild(node7); node6.SetHasEvents(node6.HasEvents() | node7.HasEvents()); } node5.SetHasEvents(node5.HasEvents() | node6.HasEvents()); } bt.SetHasEvents(bt.HasEvents() | node5.HasEvents()); } return true; }
public static bool build_behavior_tree(BehaviorTree bt) { bt.SetClassNameString("BehaviorTree"); bt.SetId(-1); bt.SetName("par_test/custom_property_as_left_value_and_param"); bt.IsFSM = false; #if !BEHAVIAC_RELEASE bt.SetAgentType("CustomPropertyAgent"); #endif // pars bt.AddPar("CustomPropertyAgent", "int", "l_Int", "1"); bt.AddPar("CustomPropertyAgent", "UnityEngine.Vector3", "l_Location", "{x=0;y=0;z=0;}"); // children { Sequence node5 = new Sequence(); node5.SetClassNameString("Sequence"); node5.SetId(5); #if !BEHAVIAC_RELEASE node5.SetAgentType("CustomPropertyAgent"); #endif bt.AddChild(node5); { Sequence node13 = new Sequence(); node13.SetClassNameString("Sequence"); node13.SetId(13); #if !BEHAVIAC_RELEASE node13.SetAgentType("CustomPropertyAgent"); #endif node5.AddChild(node13); { Assignment_bt_par_test_custom_property_as_left_value_and_param_node0 node0 = new Assignment_bt_par_test_custom_property_as_left_value_and_param_node0(); node0.SetClassNameString("Assignment"); node0.SetId(0); #if !BEHAVIAC_RELEASE node0.SetAgentType("CustomPropertyAgent"); #endif node13.AddChild(node0); node13.SetHasEvents(node13.HasEvents() | node0.HasEvents()); } { Assignment_bt_par_test_custom_property_as_left_value_and_param_node1 node1 = new Assignment_bt_par_test_custom_property_as_left_value_and_param_node1(); node1.SetClassNameString("Assignment"); node1.SetId(1); #if !BEHAVIAC_RELEASE node1.SetAgentType("CustomPropertyAgent"); #endif node13.AddChild(node1); node13.SetHasEvents(node13.HasEvents() | node1.HasEvents()); } { Assignment_bt_par_test_custom_property_as_left_value_and_param_node2 node2 = new Assignment_bt_par_test_custom_property_as_left_value_and_param_node2(); node2.SetClassNameString("Assignment"); node2.SetId(2); #if !BEHAVIAC_RELEASE node2.SetAgentType("CustomPropertyAgent"); #endif node13.AddChild(node2); node13.SetHasEvents(node13.HasEvents() | node2.HasEvents()); } { Assignment_bt_par_test_custom_property_as_left_value_and_param_node3 node3 = new Assignment_bt_par_test_custom_property_as_left_value_and_param_node3(); node3.SetClassNameString("Assignment"); node3.SetId(3); #if !BEHAVIAC_RELEASE node3.SetAgentType("CustomPropertyAgent"); #endif node13.AddChild(node3); node13.SetHasEvents(node13.HasEvents() | node3.HasEvents()); } { Assignment_bt_par_test_custom_property_as_left_value_and_param_node4 node4 = new Assignment_bt_par_test_custom_property_as_left_value_and_param_node4(); node4.SetClassNameString("Assignment"); node4.SetId(4); #if !BEHAVIAC_RELEASE node4.SetAgentType("CustomPropertyAgent"); #endif node13.AddChild(node4); node13.SetHasEvents(node13.HasEvents() | node4.HasEvents()); } { Assignment_bt_par_test_custom_property_as_left_value_and_param_node11 node11 = new Assignment_bt_par_test_custom_property_as_left_value_and_param_node11(); node11.SetClassNameString("Assignment"); node11.SetId(11); #if !BEHAVIAC_RELEASE node11.SetAgentType("CustomPropertyAgent"); #endif node13.AddChild(node11); node13.SetHasEvents(node13.HasEvents() | node11.HasEvents()); } { Assignment_bt_par_test_custom_property_as_left_value_and_param_node8 node8 = new Assignment_bt_par_test_custom_property_as_left_value_and_param_node8(); node8.SetClassNameString("Assignment"); node8.SetId(8); #if !BEHAVIAC_RELEASE node8.SetAgentType("CustomPropertyAgent"); #endif node13.AddChild(node8); node13.SetHasEvents(node13.HasEvents() | node8.HasEvents()); } { Assignment_bt_par_test_custom_property_as_left_value_and_param_node9 node9 = new Assignment_bt_par_test_custom_property_as_left_value_and_param_node9(); node9.SetClassNameString("Assignment"); node9.SetId(9); #if !BEHAVIAC_RELEASE node9.SetAgentType("CustomPropertyAgent"); #endif node13.AddChild(node9); node13.SetHasEvents(node13.HasEvents() | node9.HasEvents()); } { Assignment_bt_par_test_custom_property_as_left_value_and_param_node10 node10 = new Assignment_bt_par_test_custom_property_as_left_value_and_param_node10(); node10.SetClassNameString("Assignment"); node10.SetId(10); #if !BEHAVIAC_RELEASE node10.SetAgentType("CustomPropertyAgent"); #endif node13.AddChild(node10); node13.SetHasEvents(node13.HasEvents() | node10.HasEvents()); } node5.SetHasEvents(node5.HasEvents() | node13.HasEvents()); } { DecoratorLoop_bt_par_test_custom_property_as_left_value_and_param_node6 node6 = new DecoratorLoop_bt_par_test_custom_property_as_left_value_and_param_node6(); node6.SetClassNameString("DecoratorLoop"); node6.SetId(6); #if !BEHAVIAC_RELEASE node6.SetAgentType("CustomPropertyAgent"); #endif node5.AddChild(node6); { Noop node7 = new Noop(); node7.SetClassNameString("Noop"); node7.SetId(7); #if !BEHAVIAC_RELEASE node7.SetAgentType("CustomPropertyAgent"); #endif node6.AddChild(node7); node6.SetHasEvents(node6.HasEvents() | node7.HasEvents()); } node5.SetHasEvents(node5.HasEvents() | node6.HasEvents()); } bt.SetHasEvents(bt.HasEvents() | node5.HasEvents()); } return true; }
public static bool build_behavior_tree(BehaviorTree bt) { bt.SetClassNameString("BehaviorTree"); bt.SetId(-1); bt.SetName("DJTest"); bt.IsFSM = false; #if !BEHAVIAC_RELEASE bt.SetAgentType("DJTest"); #endif // children { Sequence node0 = new Sequence(); node0.SetClassNameString("Sequence"); node0.SetId(0); #if !BEHAVIAC_RELEASE node0.SetAgentType("DJTest"); #endif bt.AddChild(node0); { Wait_bt_DJTest_node1 node1 = new Wait_bt_DJTest_node1(); node1.SetClassNameString("Wait"); node1.SetId(1); #if !BEHAVIAC_RELEASE node1.SetAgentType("DJTest"); #endif node0.AddChild(node1); node0.SetHasEvents(node0.HasEvents() | node1.HasEvents()); } { Action_bt_DJTest_node2 node2 = new Action_bt_DJTest_node2(); node2.SetClassNameString("Action"); node2.SetId(2); #if !BEHAVIAC_RELEASE node2.SetAgentType("DJTest"); #endif node0.AddChild(node2); node0.SetHasEvents(node0.HasEvents() | node2.HasEvents()); } { IfElse node3 = new IfElse(); node3.SetClassNameString("IfElse"); node3.SetId(3); #if !BEHAVIAC_RELEASE node3.SetAgentType("DJTest"); #endif node0.AddChild(node3); { Condition_bt_DJTest_node4 node4 = new Condition_bt_DJTest_node4(); node4.SetClassNameString("Condition"); node4.SetId(4); #if !BEHAVIAC_RELEASE node4.SetAgentType("DJTest"); #endif node3.AddChild(node4); node3.SetHasEvents(node3.HasEvents() | node4.HasEvents()); } { Sequence node5 = new Sequence(); node5.SetClassNameString("Sequence"); node5.SetId(5); #if !BEHAVIAC_RELEASE node5.SetAgentType("DJTest"); #endif node3.AddChild(node5); { Action_bt_DJTest_node7 node7 = new Action_bt_DJTest_node7(); node7.SetClassNameString("Action"); node7.SetId(7); #if !BEHAVIAC_RELEASE node7.SetAgentType("DJTest"); #endif node5.AddChild(node7); node5.SetHasEvents(node5.HasEvents() | node7.HasEvents()); } { Action_bt_DJTest_node8 node8 = new Action_bt_DJTest_node8(); node8.SetClassNameString("Action"); node8.SetId(8); #if !BEHAVIAC_RELEASE node8.SetAgentType("DJTest"); #endif node5.AddChild(node8); node5.SetHasEvents(node5.HasEvents() | node8.HasEvents()); } node3.SetHasEvents(node3.HasEvents() | node5.HasEvents()); } { Noop node6 = new Noop(); node6.SetClassNameString("Noop"); node6.SetId(6); #if !BEHAVIAC_RELEASE node6.SetAgentType("DJTest"); #endif node3.AddChild(node6); node3.SetHasEvents(node3.HasEvents() | node6.HasEvents()); } node0.SetHasEvents(node0.HasEvents() | node3.HasEvents()); } bt.SetHasEvents(bt.HasEvents() | node0.HasEvents()); } return(true); }