protected override EBTStatus update_impl(behaviac.Agent pAgent, behaviac.EBTStatus childStatus)
 {
     EBTStatus result = EBTStatus.BT_SUCCESS;
     Debug.Check(behaviac.Utils.MakeVariableId("parT_nearestEnemy") == 575719424u);
     behaviac.Agent opr_p0 = (behaviac.Agent)pAgent.GetVariable(575719424u);
     behaviac.Agent pAgent_opr = behaviac.Agent.GetInstance("GameLevel", pAgent.GetContextId());
     Debug.Check(pAgent_opr != null);
     UnityEngine.Vector3 opr = (UnityEngine.Vector3)((GameLevelCommon)pAgent_opr).getEnemyPosition(opr_p0);
     Debug.Check(behaviac.Utils.MakeVariableId("parT_enemyPosition") == 1980067727u);
     pAgent.SetVariable("parT_enemyPosition", opr, 1980067727u);
     return result;
 }
 protected override EBTStatus update_impl(behaviac.Agent pAgent, behaviac.EBTStatus childStatus)
 {
     EBTStatus result = EBTStatus.BT_SUCCESS;
     behaviac.Agent pAgent_opr = behaviac.Agent.GetInstance("GameLevel", pAgent.GetContextId());
     Debug.Check(pAgent_opr != null);
     int opr = (int)((GameLevelCommon)pAgent_opr).getNearestAwardID();
     Debug.Check(behaviac.Utils.MakeVariableId("parT_AwardID") == 2554131854u);
     pAgent.SetVariable("parT_AwardID", opr, 2554131854u);
     return result;
 }
 protected override EBTStatus update_impl(behaviac.Agent pAgent, behaviac.EBTStatus childStatus)
 {
     EBTStatus result = EBTStatus.BT_SUCCESS;
     Debug.Check(behaviac.Utils.MakeVariableId("parT_AwardID") == 2554131854u);
     int opr_p0 = (int)pAgent.GetVariable(2554131854u);
     behaviac.Agent pAgent_opr = behaviac.Agent.GetInstance("GameLevel", pAgent.GetContextId());
     Debug.Check(pAgent_opr != null);
     UnityEngine.Vector3 opr = (UnityEngine.Vector3)((GameLevelCommon)pAgent_opr).getAwardPosition(opr_p0);
     Debug.Check(behaviac.Utils.MakeVariableId("parT_NavTargetPosition") == 2368420228u);
     pAgent.SetVariable("parT_NavTargetPosition", opr, 2368420228u);
     return result;
 }
 protected override EBTStatus update_impl(behaviac.Agent pAgent, behaviac.EBTStatus childStatus)
 {
     EBTStatus result = EBTStatus.BT_SUCCESS;
     behaviac.Agent pAgent_opr = behaviac.Agent.GetInstance("GameLevel", pAgent.GetContextId());
     Debug.Check(pAgent_opr != null);
     int opr = (int)((GameLevelCommon)pAgent_opr).randomNumberInt(opr_p0, opr_p1);
     Debug.Check(behaviac.Utils.MakeVariableId("parT_FireInterval") == 1636165819u);
     pAgent.SetVariable("parT_FireInterval", opr, 1636165819u);
     return result;
 }
 protected override EBTStatus update_impl(behaviac.Agent pAgent, behaviac.EBTStatus childStatus)
 {
     EBTStatus result = EBTStatus.BT_SUCCESS;
     behaviac.Agent pAgent_opr = behaviac.Agent.GetInstance("GameLevel", pAgent.GetContextId());
     Debug.Check(pAgent_opr != null);
     int opr = GameLevelCommon.soilWalkLevel;
     Debug.Check(behaviac.Utils.MakeVariableId("parT_PathFindLevel") == 3496548986u);
     pAgent.SetVariable("parT_PathFindLevel", opr, 3496548986u);
     return result;
 }
Beispiel #6
0
		protected override EBTStatus update_impl(behaviac.Agent pAgent, behaviac.EBTStatus childStatus)
		{
			EBTStatus result = EBTStatus.BT_SUCCESS;
			behaviac.Agent pAgent_opr_p0 = behaviac.Agent.GetInstance("ParTestRegNameAgent", pAgent.GetContextId());
			Debug.Check(pAgent_opr_p0 != null);
			behaviac.Agent pAgent_opr = behaviac.Agent.GetInstance("ParTestRegNameAgent", pAgent.GetContextId());
			Debug.Check(pAgent_opr != null);
			List<TNS.ST.PER.WRK.kEmployee> opr = (List<TNS.ST.PER.WRK.kEmployee>)((ParTestRegNameAgent)pAgent_opr).Func_kEmployeeListIR(((ParTestRegNameAgent)pAgent_opr_p0).TV_LIST_KEMPLOYEE_0);
			behaviac.Agent pAgent_opl = behaviac.Agent.GetInstance("ParTestRegNameAgent", pAgent.GetContextId());
			Debug.Check(pAgent_opl != null);
			((ParTestRegNameAgent)pAgent_opl).TV_LIST_KEMPLOYEE_0 = opr;
			return result;
		}
 protected override EBTStatus update_impl(behaviac.Agent pAgent, behaviac.EBTStatus childStatus)
 {
     Debug.Check(behaviac.Utils.MakeVariableId("parT_enemyPosition") == 1980067727u);
     UnityEngine.Vector3 method_p0 = (UnityEngine.Vector3)pAgent.GetVariable(1980067727u);
     behaviac.Agent pAgent_method_p1 = behaviac.Agent.GetInstance("GameLevel", pAgent.GetContextId());
     Debug.Check(pAgent_method_p1 != null);
     behaviac.EBTStatus result = (behaviac.EBTStatus)((GameActor)pAgent).findPath(method_p0, GameLevelCommon.soilSteelWalkLevel);
     return result;
 }
Beispiel #8
0
 protected override EBTStatus update_impl(behaviac.Agent pAgent, behaviac.EBTStatus childStatus)
 {
     EBTStatus result = EBTStatus.BT_SUCCESS;
     behaviac.Agent pAgent_opr_p0 = behaviac.Agent.GetInstance("ParTestRegNameAgent", pAgent.GetContextId());
     Debug.Check(pAgent_opr_p0 != null);
     behaviac.Agent pAgent_opr = behaviac.Agent.GetInstance("ParTestRegNameAgent", pAgent.GetContextId());
     Debug.Check(pAgent_opr != null);
     char opr = (char)((ParTestRegNameAgent)pAgent_opr).Func_CharIR(((ParTestRegNameAgent)pAgent_opr_p0).TV_CHAR_0);
     behaviac.Agent pAgent_opl = behaviac.Agent.GetInstance("ParTestRegNameAgent", pAgent.GetContextId());
     Debug.Check(pAgent_opl != null);
     AgentExtra_Generated.SetProperty(pAgent_opl, "TV_CHAR_0", opr);
     Debug.Check(behaviac.Utils.MakeVariableId("TV_CHAR_0") == 1925308098u);
     pAgent_opl.SetVariable<char>("TV_CHAR_0", opr, 1925308098u);
     return result;
 }
Beispiel #9
0
 protected override EBTStatus update_impl(behaviac.Agent pAgent, behaviac.EBTStatus childStatus)
 {
     EBTStatus result = EBTStatus.BT_SUCCESS;
     behaviac.Agent pAgent_opr_p0 = behaviac.Agent.GetInstance("ParTestRegNameAgent", pAgent.GetContextId());
     Debug.Check(pAgent_opr_p0 != null);
     behaviac.Agent pAgent_opr = behaviac.Agent.GetInstance("ParTestRegNameAgent", pAgent.GetContextId());
     Debug.Check(pAgent_opr != null);
     TNS.ST.PER.WRK.kEmployee opr = (TNS.ST.PER.WRK.kEmployee)((ParTestRegNameAgent)pAgent_opr).Func_kEmployeeIR(((ParTestRegNameAgent)pAgent_opr_p0).TV_KEMPLOYEE_0);
     behaviac.Agent pAgent_opl = behaviac.Agent.GetInstance("ParTestRegNameAgent", pAgent.GetContextId());
     Debug.Check(pAgent_opl != null);
     AgentExtra_Generated.SetProperty(pAgent_opl, "TV_KEMPLOYEE_0", opr);
     Debug.Check(behaviac.Utils.MakeVariableId("TV_KEMPLOYEE_0") == 2788553297u);
     pAgent_opl.SetVariable<TNS.ST.PER.WRK.kEmployee>("TV_KEMPLOYEE_0", opr, 2788553297u);
     return result;
 }
Beispiel #10
0
 protected override EBTStatus update_impl(behaviac.Agent pAgent, behaviac.EBTStatus childStatus)
 {
     EBTStatus result = EBTStatus.BT_SUCCESS;
     behaviac.Agent pAgent_opr_p0 = behaviac.Agent.GetInstance("ParTestRegNameAgent", pAgent.GetContextId());
     Debug.Check(pAgent_opr_p0 != null);
     behaviac.Agent pAgent_opr = behaviac.Agent.GetInstance("ParTestRegNameAgent", pAgent.GetContextId());
     Debug.Check(pAgent_opr != null);
     List<sbyte> opr = (List<sbyte>)((ParTestRegNameAgent)pAgent_opr).Func_SByteListIR(ParTestRegNameAgent.STV_LIST_SBYTE_0);
     behaviac.Agent pAgent_opl = behaviac.Agent.GetInstance("ParTestRegNameAgent", pAgent.GetContextId());
     Debug.Check(pAgent_opl != null);
     AgentExtra_Generated.SetProperty(pAgent_opl, "STV_LIST_SBYTE_0", opr);
     Debug.Check(behaviac.Utils.MakeVariableId("STV_LIST_SBYTE_0") == 2135462866u);
     pAgent_opl.SetVariable<List<sbyte>>("STV_LIST_SBYTE_0", opr, 2135462866u);
     return result;
 }
Beispiel #11
0
 protected override EBTStatus update_impl(behaviac.Agent pAgent, behaviac.EBTStatus childStatus)
 {
     EBTStatus result = EBTStatus.BT_SUCCESS;
     behaviac.Agent pAgent_opr_p0 = behaviac.Agent.GetInstance("ParTestRegNameAgent", pAgent.GetContextId());
     Debug.Check(pAgent_opr_p0 != null);
     behaviac.Agent pAgent_opr = behaviac.Agent.GetInstance("ParTestRegNameAgent", pAgent.GetContextId());
     Debug.Check(pAgent_opr != null);
     byte opr = (byte)((ParTestRegNameAgent)pAgent_opr).Func_ByteIR(((ParTestRegNameAgent)pAgent_opr_p0).TV_BYTE_0);
     behaviac.Agent pAgent_opl = behaviac.Agent.GetInstance("ParTestRegNameAgent", pAgent.GetContextId());
     Debug.Check(pAgent_opl != null);
     AgentExtra_Generated.SetProperty(pAgent_opl, "TV_BYTE_0", opr);
     Debug.Check(behaviac.Utils.MakeVariableId("TV_BYTE_0") == 2045932444u);
     pAgent_opl.SetVariable<byte>("TV_BYTE_0", opr, 2045932444u);
     return result;
 }
Beispiel #12
0
 protected override EBTStatus update_impl(behaviac.Agent pAgent, behaviac.EBTStatus childStatus)
 {
     EBTStatus result = EBTStatus.BT_SUCCESS;
     behaviac.Agent pAgent_opr_p0 = behaviac.Agent.GetInstance("ParTestRegNameAgent", pAgent.GetContextId());
     Debug.Check(pAgent_opr_p0 != null);
     behaviac.Agent pAgent_opr = behaviac.Agent.GetInstance("ParTestRegNameAgent", pAgent.GetContextId());
     Debug.Check(pAgent_opr != null);
     string opr = (string)((ParTestRegNameAgent)pAgent_opr).Func_StringIR(((ParTestRegNameAgent)pAgent_opr_p0).TV_STR_0);
     behaviac.Agent pAgent_opl = behaviac.Agent.GetInstance("ParTestRegNameAgent", pAgent.GetContextId());
     Debug.Check(pAgent_opl != null);
     AgentExtra_Generated.SetProperty(pAgent_opl, "TV_STR_0", opr);
     Debug.Check(behaviac.Utils.MakeVariableId("TV_STR_0") == 3765213955u);
     pAgent_opl.SetVariable<string>("TV_STR_0", opr, 3765213955u);
     return result;
 }
 protected override EBTStatus update_impl(behaviac.Agent pAgent, behaviac.EBTStatus childStatus)
 {
     EBTStatus result = EBTStatus.BT_SUCCESS;
     behaviac.Agent pAgent_opr_p0 = behaviac.Agent.GetInstance("ParTestRegNameAgent", pAgent.GetContextId());
     Debug.Check(pAgent_opr_p0 != null);
     behaviac.Agent pAgent_opr = behaviac.Agent.GetInstance("ParTestRegNameAgent", pAgent.GetContextId());
     Debug.Check(pAgent_opr != null);
     List<TNS.ST.PER.WRK.kEmployee> opr = (List<TNS.ST.PER.WRK.kEmployee>)((ParTestRegNameAgent)pAgent_opr).Func_kEmployeeListIR(ParTestRegNameAgent.STV_LIST_KEMPLOYEE_0);
     behaviac.Agent pAgent_opl = behaviac.Agent.GetInstance("ParTestRegNameAgent", pAgent.GetContextId());
     Debug.Check(pAgent_opl != null);
     AgentExtra_Generated.SetProperty(pAgent_opl, "STV_LIST_KEMPLOYEE_0", opr);
     Debug.Check(behaviac.Utils.MakeVariableId("STV_LIST_KEMPLOYEE_0") == 1924897476u);
     pAgent_opl.SetVariable("STV_LIST_KEMPLOYEE_0", opr, 1924897476u);
     return result;
 }
Beispiel #14
0
		protected override EBTStatus update_impl(behaviac.Agent pAgent, behaviac.EBTStatus childStatus)
		{
			EBTStatus result = EBTStatus.BT_SUCCESS;
			behaviac.Agent pAgent_opr_p0 = behaviac.Agent.GetInstance("ParTestRegNameAgent", pAgent.GetContextId());
			Debug.Check(pAgent_opr_p0 != null);
			behaviac.Agent pAgent_opr = behaviac.Agent.GetInstance("ParTestRegNameAgent", pAgent.GetContextId());
			Debug.Check(pAgent_opr != null);
			string opr = (string)((ParTestRegNameAgent)pAgent_opr).Func_StringIR(((ParTestRegNameAgent)pAgent_opr_p0).TV_STR_0);
			behaviac.Agent pAgent_opl = behaviac.Agent.GetInstance("ParTestRegNameAgent", pAgent.GetContextId());
			Debug.Check(pAgent_opl != null);
			((ParTestRegNameAgent)pAgent_opl).TV_STR_0 = opr;
			return result;
		}
 protected override EBTStatus update_impl(behaviac.Agent pAgent, behaviac.EBTStatus childStatus)
 {
     EBTStatus result = EBTStatus.BT_SUCCESS;
     behaviac.Agent pAgent_opr = behaviac.Agent.GetInstance("GameLevel", pAgent.GetContextId());
     Debug.Check(pAgent_opr != null);
     behaviac.Agent opr = (behaviac.Agent)((GameLevelCommon)pAgent_opr).getNearestEnemy(opr_p0);
     Debug.Check(behaviac.Utils.MakeVariableId("parT_nearestEnemy") == 575719424u);
     pAgent.SetVariable("parT_nearestEnemy", opr, 575719424u);
     return result;
 }
Beispiel #16
0
		protected override EBTStatus update_impl(behaviac.Agent pAgent, behaviac.EBTStatus childStatus)
		{
			Debug.Check(behaviac.Utils.MakeVariableId("parT_NavTargetPosition") == 2368420228u);
			UnityEngine.Vector3 method_p0 = pAgent.GetVariable<UnityEngine.Vector3>(2368420228u);
			behaviac.Agent pAgent_method_p1 = behaviac.Agent.GetInstance("GameLevel", pAgent.GetContextId());
			Debug.Check(pAgent_method_p1 != null);
			behaviac.EBTStatus result = (behaviac.EBTStatus)((GameActor)pAgent).findPath(method_p0, GameLevelCommon.actorWalkLevel);
			return result;
		}
 protected override EBTStatus update_impl(behaviac.Agent pAgent, behaviac.EBTStatus childStatus)
 {
     EBTStatus result = EBTStatus.BT_SUCCESS;
     Debug.Check(behaviac.Utils.MakeVariableId("parIn_Self") == 2069719536u);
     GameActor opr_p0 = (GameActor)pAgent.GetVariable(2069719536u);
     behaviac.Agent pAgent_opr = behaviac.Agent.GetInstance("GameLevel", pAgent.GetContextId());
     Debug.Check(pAgent_opr != null);
     float opr = (float)((GameLevelCommon)pAgent_opr).getAvailabeMoveDirection(opr_p0, opr_p1);
     Debug.Check(behaviac.Utils.MakeVariableId("parT_RotateAngle") == 760191237u);
     pAgent.SetVariable("parT_RotateAngle", opr, 760191237u);
     return result;
 }
Beispiel #18
0
		protected override EBTStatus update_impl(behaviac.Agent pAgent, behaviac.EBTStatus childStatus)
		{
			EBTStatus result = EBTStatus.BT_SUCCESS;
			behaviac.Agent pAgent_opr_p0 = behaviac.Agent.GetInstance("ParTestRegNameAgent", pAgent.GetContextId());
			Debug.Check(pAgent_opr_p0 != null);
			behaviac.Agent pAgent_opr = behaviac.Agent.GetInstance("ParTestRegNameAgent", pAgent.GetContextId());
			Debug.Check(pAgent_opr != null);
			List<sbyte> opr = (List<sbyte>)((ParTestRegNameAgent)pAgent_opr).Func_SByteListIR(ParTestRegNameAgent.STV_LIST_SBYTE_0);
			behaviac.Agent pAgent_opl = behaviac.Agent.GetInstance("ParTestRegNameAgent", pAgent.GetContextId());
			Debug.Check(pAgent_opl != null);
			ParTestRegNameAgent.STV_LIST_SBYTE_0 = opr;
			return result;
		}