public override bool Load() { AgentMeta.TotalSignature = 2418182022; AgentMeta meta; // behaviac.Agent meta = new AgentMeta(24743406); AgentMeta._AgentMetas_[2436498804] = meta; meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { behaviac.Agent.LogMessage(param0); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); // Example.NonPlayerCharacterAgent meta = new AgentMeta(285711932); AgentMeta._AgentMetas_[2703947796] = meta; meta.RegisterMethod(216804755, new CAgentMethod <behaviac.EBTStatus>(delegate(Agent self) { return(((Example.NonPlayerCharacterAgent)self).CheckFindTarget()); })); meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { Example.NonPlayerCharacterAgent.LogMessage(param0); })); meta.RegisterMethod(3868495370, new CAgentMethod <behaviac.EBTStatus>(delegate(Agent self) { return(((Example.NonPlayerCharacterAgent)self).MoveToNextPoint()); })); meta.RegisterMethod(1793645156, new CAgentMethod <behaviac.EBTStatus>(delegate(Agent self) { return(((Example.NonPlayerCharacterAgent)self).MoveToTarget()); })); meta.RegisterMethod(3786153049, new CAgentMethod <behaviac.EBTStatus>(delegate(Agent self) { return(((Example.NonPlayerCharacterAgent)self).TestVisible()); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); AgentMeta.Register <behaviac.Agent>("behaviac.Agent"); AgentMeta.Register <Example.NonPlayerCharacterAgent>("Example.NonPlayerCharacterAgent"); return(true); }
static partial void registerMeta() { // --------------------------------------------------------------------- // properties // --------------------------------------------------------------------- AgentMeta meta; // behaviac.Agent meta = new AgentMeta(); _agentMetas[2436498804] = meta; // DJTest meta = new AgentMeta(); _agentMetas[1241053461] = meta; meta.RegisterMemberProperty(2269881519, new CMemberProperty <int>("hp", delegate(Agent self, int value) { ((DJTest)self).hp = value; }, delegate(Agent self) { return(((DJTest)self).hp); })); meta.RegisterMemberProperty(4050060769, new CMemberProperty <bool>("isDead", delegate(Agent self, bool value) { ((DJTest)self).isDead = value; }, delegate(Agent self) { return(((DJTest)self).isDead); })); meta.RegisterMethod(2589968182, new CAgentMethodVoid <int>(delegate(Agent self, int param0) { ((DJTest)self).ChangeHp(param0); })); meta.RegisterMethod(4271107009, new CAgentMethodVoid <string, string>(delegate(Agent self, string param0, string param1) { ((DJTest)self).ExecuteLua(param0, param1); })); meta.RegisterMethod(2331964840, new CAgentMethodVoid(delegate(Agent self) { ((DJTest)self).ReBorn(); })); AgentMeta.Register <behaviac.EBTStatus>("behaviac.EBTStatus"); AgentMeta.Register <System.Object>("System.Object"); AgentMeta.Register <DJTest>("DJTest"); }
public override bool Load() { AgentMeta.TotalSignature = 1768708687; AgentMeta meta; // behaviac.Agent meta = new AgentMeta(24743406); AgentMeta._AgentMetas_[2436498804] = meta; meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { behaviac.Agent.LogMessage(param0); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); // FirstAgent meta = new AgentMeta(1318449072); AgentMeta._AgentMetas_[1778122110] = meta; meta.RegisterMemberProperty(2082220067, new CMemberProperty <int>("p1", delegate(Agent self, int value) { ((FirstAgent)self)._set_p1(value); }, delegate(Agent self) { return(((FirstAgent)self)._get_p1()); })); meta.RegisterMethod(3345343196, new CAgentMethodVoid <int>(delegate(Agent self, int param0) { }) /* event_task */); meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { FirstAgent.LogMessage(param0); })); meta.RegisterMethod(664995375, new CAgentMethodVoid(delegate(Agent self) { AgentMetaVisitor.ExecuteMethod(self, "Start", null); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); meta.RegisterMethod(994837275, new CAgentMethod <behaviac.EBTStatus>(delegate(Agent self) { return((behaviac.EBTStatus)AgentMetaVisitor.ExecuteMethod(self, "Wait", null)); })); AgentMeta.Register <behaviac.Agent>("behaviac.Agent"); AgentMeta.Register <FirstAgent>("FirstAgent"); return(true); }
public override bool Load() { AgentMeta.TotalSignature = 34628310; AgentMeta meta; // behaviac.Agent meta = new AgentMeta(24743406); AgentMeta._AgentMetas_[2436498804] = meta; meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { behaviac.Agent.LogMessage(param0); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); // FirstAgent meta = new AgentMeta(388316592); AgentMeta._AgentMetas_[1778122110] = meta; meta.RegisterMemberProperty(2082220067, new CMemberProperty <int>("p1", delegate(Agent self, int value) { ((FirstAgent)self).p1 = value; }, delegate(Agent self) { return(((FirstAgent)self).p1); })); meta.RegisterMethod(3345343196, new CAgentMethodVoid <int>(delegate(Agent self, int val) { }) /* event_task */); meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { FirstAgent.LogMessage(param0); })); meta.RegisterMethod(702722749, new CAgentMethodVoid <string>(delegate(Agent self, string txt) { ((FirstAgent)self).Say(txt); })); meta.RegisterMethod(1505908390, new CAgentMethodVoid(delegate(Agent self) { ((FirstAgent)self).SayHello(); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); AgentMeta.Register <behaviac.Agent>("behaviac.Agent"); AgentMeta.Register <FirstAgent>("FirstAgent"); return(true); }
public override bool Load() { AgentMeta.TotalSignature = 3155468577; AgentMeta meta; // behaviac.Agent meta = new AgentMeta(24743406); AgentMeta._AgentMetas_[2436498804] = meta; meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { behaviac.Agent.LogMessage(param0); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); // FirstAgent meta = new AgentMeta(2701430383); AgentMeta._AgentMetas_[1778122110] = meta; meta.RegisterMemberProperty(2082220067, new CMemberProperty <int>("p1", delegate(Agent self, int value) { ((FirstAgent)self)._set_p1(value); }, delegate(Agent self) { return(((FirstAgent)self)._get_p1()); })); meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { FirstAgent.LogMessage(param0); })); meta.RegisterMethod(664995375, new CAgentMethodVoid(delegate(Agent self) { ((FirstAgent)self).Start(); })); meta.RegisterMethod(2065006847, new CAgentMethodVoid <int>(delegate(Agent self, int param0) { }) /* t1 */); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); meta.RegisterMethod(994837275, new CAgentMethod <behaviac.EBTStatus>(delegate(Agent self) { return(((FirstAgent)self).Wait()); })); AgentMeta.Register <behaviac.Agent>("behaviac.Agent"); AgentMeta.Register <FirstAgent>("FirstAgent"); return(true); }
static partial void registerMeta() { // --------------------------------------------------------------------- // properties // --------------------------------------------------------------------- AgentMeta meta; // behaviac.Agent meta = new AgentMeta(); _agentMetas[2436498804] = meta; meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { behaviac.Agent.LogMessage(param0); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); // FSM_Ctrl meta = new AgentMeta(); _agentMetas[3694907031] = meta; meta.RegisterMemberProperty(1615046900, new CMemberProperty <bool>("isConAva", delegate(Agent self, bool value) { ((FSM_Ctrl)self).isConAva = value; }, delegate(Agent self) { return(((FSM_Ctrl)self).isConAva); })); meta.RegisterMemberProperty(2884927150, new CMemberProperty <int>("MouseStatus", delegate(Agent self, int value) { ((FSM_Ctrl)self).MouseStatus = value; }, delegate(Agent self) { return(((FSM_Ctrl)self).MouseStatus); })); meta.RegisterMemberProperty(525979889, new CMemberProperty <int>("Status", delegate(Agent self, int value) { ((FSM_Ctrl)self).Status = value; }, delegate(Agent self) { return(((FSM_Ctrl)self).Status); })); meta.RegisterMethod(3991083887, new CAgentMethodVoid(delegate(Agent self) { AgentMetaVisitor.ExecuteMethod(self, "Constructing", null); })); meta.RegisterMethod(2092435623, new CAgentMethodVoid(delegate(Agent self) { AgentMetaVisitor.ExecuteMethod(self, "Enter_ReadyConstruct", null); })); meta.RegisterMethod(1017098902, new CAgentMethodVoid(delegate(Agent self) { AgentMetaVisitor.ExecuteMethod(self, "ReadyConstruct", null); })); meta.RegisterMethod(3546126339, new CAgentMethodVoid(delegate(Agent self) { AgentMetaVisitor.ExecuteMethod(self, "Selecting", null); })); meta.RegisterMethod(2951813410, new CAgentMethodVoid(delegate(Agent self) { AgentMetaVisitor.ExecuteMethod(self, "WaitForOrder", null); })); meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { FSM_Ctrl.LogMessage(param0); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); // Unit meta = new AgentMeta(); _agentMetas[435109933] = meta; meta.RegisterMemberProperty(3266651641, new CMemberProperty <bool>("isEnmyFound", delegate(Agent self, bool value) { ((Unit)self).isEnmyFound = value; }, delegate(Agent self) { return(((Unit)self).isEnmyFound); })); meta.RegisterMemberProperty(1151875736, new CMemberProperty <bool>("isGo", delegate(Agent self, bool value) { ((Unit)self).isGo = value; }, delegate(Agent self) { return(((Unit)self).isGo); })); meta.RegisterMethod(3127879122, new CAgentMethodVoid(delegate(Agent self) { ((Unit)self).Attack(); })); meta.RegisterMethod(2411069714, new CAgentMethodVoid(delegate(Agent self) { ((Unit)self).GotoDes(); })); meta.RegisterMethod(2253404977, new CAgentMethodVoid(delegate(Agent self) { ((Unit)self).Idle(); })); meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { Unit.LogMessage(param0); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); AgentMeta.Register <behaviac.Agent>("behaviac.Agent"); AgentMeta.Register <behaviac.EBTStatus>("behaviac.EBTStatus"); AgentMeta.Register <FSM_Ctrl>("FSM_Ctrl"); AgentMeta.Register <System.Object>("System.Object"); AgentMeta.Register <Unit>("Unit"); }
public override bool Load() { AgentMeta.TotalSignature = 3481663041; AgentMeta meta; // behaviac.Agent meta = new AgentMeta(24743406); AgentMeta._AgentMetas_[2436498804] = meta; meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { behaviac.Agent.LogMessage(param0); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); // FirstAgent meta = new AgentMeta(3003525912); AgentMeta._AgentMetas_[1778122110] = meta; meta.RegisterMemberProperty(2082220067, new CMemberProperty <FirstStruct>("p1", delegate(Agent self, FirstStruct value) { ((FirstAgent)self)._set_p1(value); }, delegate(Agent self) { return(((FirstAgent)self)._get_p1()); })); meta.RegisterMethod(2394084320, new CAgentMethod <int>(delegate(Agent self) { return(((FirstAgent)self).GetP1s1()); })); meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { FirstAgent.LogMessage(param0); })); meta.RegisterMethod(1505908390, new CAgentMethodVoid(delegate(Agent self) { ((FirstAgent)self).SayHello(); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); AgentMeta.Register <behaviac.Agent>("behaviac.Agent"); AgentMeta.Register <FirstAgent>("FirstAgent"); AgentMeta.Register <FirstStruct>("FirstStruct"); ComparerRegister.RegisterType <FirstStruct, CompareValue_FirstStruct>(); return(true); }
static partial void registerMeta() { AgentMeta.TotalSignature = 3182204661; AgentMeta meta; // behaviac.Agent meta = new AgentMeta(2472787040); _agentMetas[2436498804] = meta; meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <cszstring>(delegate(cszstring param0) { behaviac.Agent.LogMessage(param0); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); // FirstAgent meta = new AgentMeta(4208637954); _agentMetas[1778122110] = meta; meta.RegisterMemberProperty(2082220067, new CMemberProperty <bool>("p1", delegate(Agent self, bool value) { ((FirstAgent)self)._set_p1(value); }, delegate(Agent self) { return(((FirstAgent)self)._get_p1()); })); meta.RegisterMemberProperty(1462860768, new CMemberProperty <int>("p2", delegate(Agent self, int value) { ((FirstAgent)self)._set_p2(value); }, delegate(Agent self) { return(((FirstAgent)self)._get_p2()); })); meta.RegisterMemberProperty(1311394465, new CMemberProperty <float>("p3", delegate(Agent self, float value) { ((FirstAgent)self)._set_p3(value); }, delegate(Agent self) { return(((FirstAgent)self)._get_p3()); })); meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <cszstring>(delegate(cszstring param0) { FirstAgent.LogMessage(param0); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); meta.RegisterMethod(1137658819, new CAgentMethod <bool>(delegate(Agent self) { return(((FirstAgent)self).m2()); })); meta.RegisterMethod(1505908390, new CAgentMethodVoid(delegate(Agent self) { ((FirstAgent)self).SayHello(); })); AgentMeta.Register <behaviac.Agent>("behaviac.Agent"); AgentMeta.Register <FirstAgent>("FirstAgent"); }
public override bool Load() { AgentMeta.TotalSignature = 3533775547; AgentMeta meta; // behaviac.Agent meta = new AgentMeta(24743406); AgentMeta._AgentMetas_[2436498804] = meta; meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { behaviac.Agent.LogMessage(param0); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); // FirstAgent meta = new AgentMeta(430704303); AgentMeta._AgentMetas_[1778122110] = meta; meta.RegisterMemberProperty(2082220067, new CMemberProperty <int>("p1", delegate(Agent self, int value) { ((FirstAgent)self)._set_p1(value); }, delegate(Agent self) { return(((FirstAgent)self)._get_p1()); })); meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { FirstAgent.LogMessage(param0); })); meta.RegisterMethod(1759647744, new CMethod_FirstAgent_m1()); meta.RegisterMethod(1505908390, new CAgentMethodVoid(delegate(Agent self) { ((FirstAgent)self).SayHello(); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); AgentMeta.Register <behaviac.Agent>("behaviac.Agent"); AgentMeta.Register <FirstAgent>("FirstAgent"); return(true); }
public override bool Load() { AgentMeta.TotalSignature = 2982566067; AgentMeta meta; // behaviac.Agent meta = new AgentMeta(24743406); AgentMeta._AgentMetas_[2436498804] = meta; meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { behaviac.Agent.LogMessage(param0); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); // BaseAgent meta = new AgentMeta(2920936647); AgentMeta._AgentMetas_[2774251291] = meta; meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { BaseAgent.LogMessage(param0); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); // EnemyAgent meta = new AgentMeta(3544837490); AgentMeta._AgentMetas_[3531795815] = meta; meta.RegisterMethod(3127879122, new CAgentMethodVoid <float>(delegate(Agent self, float attackParam) { ((EnemyAgent)self).Attack(attackParam); })); meta.RegisterMethod(119980225, new CAgentMethodVoid(delegate(Agent self) { ((EnemyAgent)self).FlushSensor(); })); meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { EnemyAgent.LogMessage(param0); })); meta.RegisterMethod(1306089002, new CAgentMethodVoid(delegate(Agent self) { ((EnemyAgent)self).MakeIdle(); })); meta.RegisterMethod(740963922, new CAgentMethodVoid(delegate(Agent self) { ((EnemyAgent)self).Patrol(); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); AgentMeta.Register <behaviac.Agent>("behaviac.Agent"); AgentMeta.Register <BaseAgent>("BaseAgent"); AgentMeta.Register <EnemyAgent>("EnemyAgent"); AgentMeta.Register <LogicStatus>("LogicStatus"); ComparerRegister.RegisterType <LogicStatus, CompareValue_LogicStatus>(); return(true); }
public override bool Load() { AgentMeta.TotalSignature = 3940253444; AgentMeta meta; // behaviac.Agent meta = new AgentMeta(24743406); AgentMeta._AgentMetas_[2436498804] = meta; meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { behaviac.Agent.LogMessage(param0); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); // SecondAgent meta = new AgentMeta(3772742788); AgentMeta._AgentMetas_[2432194202] = meta; meta.RegisterMemberProperty(2082220067, new CMemberProperty <int>("p1", delegate(Agent self, int value) { ((SecondAgent)self)._set_p1(value); }, delegate(Agent self) { return(((SecondAgent)self)._get_p1()); })); meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { SecondAgent.LogMessage(param0); })); meta.RegisterMethod(1759647744, new CAgentMethodVoid <string>(delegate(Agent self, string value) { ((SecondAgent)self).m1(value); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); AgentMeta.Register <behaviac.Agent>("behaviac.Agent"); AgentMeta.Register <SecondAgent>("SecondAgent"); return(true); }
public override bool Load() { AgentMeta.TotalSignature = 4151713378; AgentMeta meta; // behaviac.Agent meta = new AgentMeta(24743406); AgentMeta._AgentMetas_[2436498804] = meta; meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { behaviac.Agent.LogMessage(param0); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); // FirstAgent meta = new AgentMeta(246456501); AgentMeta._AgentMetas_[1778122110] = meta; meta.RegisterMemberProperty(2082220067, new CMemberProperty <int>("p1", delegate(Agent self, int value) { ((FirstAgent)self)._set_p1(value); }, delegate(Agent self) { return(((FirstAgent)self)._get_p1()); })); meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { FirstAgent.LogMessage(param0); })); meta.RegisterMethod(702722749, new CAgentMethod <behaviac.EBTStatus, string, bool>(delegate(Agent self, string value, bool isLatent) { return(((FirstAgent)self).Say(value, isLatent)); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); AgentMeta.Register <behaviac.Agent>("behaviac.Agent"); AgentMeta.Register <FirstAgent>("FirstAgent"); return(true); }
public override bool Load() { AgentMeta.TotalSignature = 2205687817; AgentMeta meta; // behaviac.Agent meta = new AgentMeta(24743406); AgentMeta._AgentMetas_[2436498804] = meta; meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { behaviac.Agent.LogMessage(param0); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); // FirstAgent meta = new AgentMeta(4185739757); AgentMeta._AgentMetas_[1778122110] = meta; meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { FirstAgent.LogMessage(param0); })); meta.RegisterMethod(702722749, new CAgentMethodVoid <string>(delegate(Agent self, string value) { ((FirstAgent)self).Say(value); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); AgentMeta.Register <behaviac.Agent>("behaviac.Agent"); AgentMeta.Register <FirstAgent>("FirstAgent"); return(true); }
public override bool Load() { AgentMeta.TotalSignature = 3349489019; AgentMeta meta; // behaviac.Agent meta = new AgentMeta(24743406); AgentMeta._AgentMetas_[2436498804] = meta; meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { behaviac.Agent.LogMessage(param0); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); // FirstAgent meta = new AgentMeta(334646925); AgentMeta._AgentMetas_[1778122110] = meta; meta.RegisterMemberProperty(2082220067, new CMemberProperty <int>("p1", delegate(Agent self, int value) { ((FirstAgent)self)._set_p1(value); }, delegate(Agent self) { return(((FirstAgent)self)._get_p1()); })); meta.RegisterMemberProperty(1144200279, new CMemberProperty <SecondAgent>("pInstance", delegate(Agent self, SecondAgent value) { ((FirstAgent)self)._set_pInstance(value); }, delegate(Agent self) { return(((FirstAgent)self)._get_pInstance()); })); meta.RegisterMethod(3345343196, new CAgentMethodVoid <int>(delegate(Agent self, int param0) { }) /* event_task */); meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { FirstAgent.LogMessage(param0); })); meta.RegisterMethod(702722749, new CAgentMethodVoid <string>(delegate(Agent self, string param0) { ((FirstAgent)self).Say(param0); })); meta.RegisterMethod(1505908390, new CAgentMethodVoid(delegate(Agent self) { ((FirstAgent)self).SayHello(); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); // SecondAgent meta = new AgentMeta(2420330950); AgentMeta._AgentMetas_[2432194202] = meta; meta.RegisterMemberProperty(1462860768, new CMemberProperty <int>("p2", delegate(Agent self, int value) { ((SecondAgent)self)._set_p2(value); }, delegate(Agent self) { return(((SecondAgent)self)._get_p2()); })); meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { SecondAgent.LogMessage(param0); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); AgentMeta.Register <behaviac.Agent>("behaviac.Agent"); AgentMeta.Register <FirstAgent>("FirstAgent"); AgentMeta.Register <SecondAgent>("SecondAgent"); Agent.RegisterInstanceName <SecondAgent>("SecondAgentInstance"); return(true); }
public override bool Load() { AgentMeta.TotalSignature = 2269247311; AgentMeta meta; // behaviac.Agent meta = new AgentMeta(24743406); AgentMeta._AgentMetas_[2436498804] = meta; meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { behaviac.Agent.LogMessage(param0); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); // ETHotfix.ConnectionManager meta = new AgentMeta(3689215044); AgentMeta._AgentMetas_[4265616933] = meta; meta.RegisterMemberProperty(2278571283, new CMemberProperty <ETHotfix.ConnectionStatus>("ConnectionStatus", delegate(Agent self, ETHotfix.ConnectionStatus value) { ((ETHotfix.ConnectionManager)self)._set_ConnectionStatus(value); }, delegate(Agent self) { return(((ETHotfix.ConnectionManager)self)._get_ConnectionStatus()); })); meta.RegisterMemberProperty(1647184742, new CMemberProperty <int>("ReConnectionTimes", delegate(Agent self, int value) { ((ETHotfix.ConnectionManager)self)._set_ReConnectionTimes(value); }, delegate(Agent self) { return(((ETHotfix.ConnectionManager)self)._get_ReConnectionTimes()); })); meta.RegisterMethod(1309709557, new CAgentMethodVoid(delegate(Agent self) { ((ETHotfix.ConnectionManager)self).HeartTick(); })); meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { ETHotfix.ConnectionManager.LogMessage(param0); })); meta.RegisterMethod(1030160651, new CAgentMethodVoid(delegate(Agent self) { ((ETHotfix.ConnectionManager)self).Reconnection(); })); meta.RegisterMethod(3944763243, new CAgentMethodVoid(delegate(Agent self) { ((ETHotfix.ConnectionManager)self).ReturnLogin(); })); meta.RegisterMethod(3861371669, new CAgentMethodVoid(delegate(Agent self) { ((ETHotfix.ConnectionManager)self).ShowStatus(); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); AgentMeta.Register <behaviac.Agent>("behaviac.Agent"); AgentMeta.Register <ETHotfix.ConnectionManager>("ETHotfix.ConnectionManager"); AgentMeta.Register <ETHotfix.ConnectionStatus>("ETHotfix.ConnectionStatus"); ComparerRegister.RegisterType <ETHotfix.ConnectionStatus, CompareValue_ETHotfix_ConnectionStatus>(); Agent.RegisterInstanceName <ETHotfix.ConnectionManager>("ETHotfix::ConnectionManager"); behaviac.Workspace.Instance.UseIntValue = true; return(true); }
public override bool Load() { AgentMeta.TotalSignature = 856662924; AgentMeta meta; // behaviac.Agent meta = new AgentMeta(24743406); AgentMeta._AgentMetas_[2436498804] = meta; meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { behaviac.Agent.LogMessage(param0); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); // GGame.Core.FreeMoveAIAgent meta = new AgentMeta(205695950); AgentMeta._AgentMetas_[3441777734] = meta; meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { GGame.Core.FreeMoveAIAgent.LogMessage(param0); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); AgentMeta.Register <behaviac.Agent>("behaviac.Agent"); AgentMeta.Register <GGame.Core.FreeMoveAIAgent>("GGame.Core.FreeMoveAIAgent"); return(true); }
public override bool Load() { AgentMeta.TotalSignature = 254207487; AgentMeta meta; // behaviac.Agent meta = new AgentMeta(24743406); AgentMeta._AgentMetas_[2436498804] = meta; meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { behaviac.Agent.LogMessage(param0); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); // FirstAgent meta = new AgentMeta(1928400199); AgentMeta._AgentMetas_[1778122110] = meta; meta.RegisterMemberProperty(592811825, new CMemberProperty <FirstEnum>("firstEnum", delegate(Agent self, FirstEnum value) { ((FirstAgent)self)._set_firstEnum(value); }, delegate(Agent self) { return(((FirstAgent)self)._get_firstEnum()); })); meta.RegisterMemberProperty(2956534501, new CMemberProperty <FirstStruct>("firstStruct", delegate(Agent self, FirstStruct value) { ((FirstAgent)self).firstStruct = value; }, delegate(Agent self) { return(((FirstAgent)self).firstStruct); })); meta.RegisterMemberProperty(576049271, new CMemberProperty <HeroStruct>("heroStruct", delegate(Agent self, HeroStruct value) { ((FirstAgent)self).heroStruct = value; }, delegate(Agent self) { return(((FirstAgent)self).heroStruct); })); meta.RegisterMemberProperty(2098717474, new CMemberProperty <HeroType>("heroType", delegate(Agent self, HeroType value) { ((FirstAgent)self).heroType = value; }, delegate(Agent self) { return(((FirstAgent)self).heroType); })); meta.RegisterMethod(3345343196, new CAgentMethodVoid <int>(delegate(Agent self, int val) { }) /* event_task */); meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { FirstAgent.LogMessage(param0); })); meta.RegisterMethod(702722749, new CAgentMethodVoid <string>(delegate(Agent self, string txt) { ((FirstAgent)self).Say(txt); })); meta.RegisterMethod(1505908390, new CAgentMethodVoid(delegate(Agent self) { ((FirstAgent)self).SayHello(); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); AgentMeta.Register <behaviac.Agent>("behaviac.Agent"); AgentMeta.Register <FirstAgent>("FirstAgent"); AgentMeta.Register <FirstEnum>("FirstEnum"); ComparerRegister.RegisterType <FirstEnum, CompareValue_FirstEnum>(); AgentMeta.Register <HeroType>("HeroType"); ComparerRegister.RegisterType <HeroType, CompareValue_HeroType>(); AgentMeta.Register <FirstStruct>("FirstStruct"); ComparerRegister.RegisterType <FirstStruct, CompareValue_FirstStruct>(); AgentMeta.Register <HeroStruct>("HeroStruct"); ComparerRegister.RegisterType <HeroStruct, CompareValue_HeroStruct>(); return(true); }
public override bool Load() { AgentMeta.TotalSignature = 1679288838; AgentMeta meta; // behaviac.Agent meta = new AgentMeta(24743406); AgentMeta._AgentMetas_[2436498804] = meta; meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { behaviac.Agent.LogMessage(param0); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); // iTarget meta = new AgentMeta(975257026); AgentMeta._AgentMetas_[4286830290] = meta; meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { iTarget.LogMessage(param0); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); AgentMeta.Register <behaviac.Agent>("behaviac.Agent"); AgentMeta.Register <iTarget>("iTarget"); return(true); }
public override bool Load() { AgentMeta.TotalSignature = 2349420332; AgentMeta meta; // behaviac.Agent meta = new AgentMeta(24743406); AgentMeta._AgentMetas_[2436498804] = meta; meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { behaviac.Agent.LogMessage(param0); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); // ET.SkillAgent meta = new AgentMeta(2936130593); AgentMeta._AgentMetas_[3034708317] = meta; meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { ET.SkillAgent.LogMessage(param0); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); meta.RegisterMethod(154156501, new CAgentMethod <bool>(delegate(Agent self) { return(((ET.SkillAgent)self).IsInAttackArea()); })); meta.RegisterMethod(2886181657, new CAgentMethod <behaviac.EBTStatus, int>(delegate(Agent self, int skillindex) { return(((ET.SkillAgent)self).DoAttack(skillindex)); })); // ET.AIAgent meta = new AgentMeta(2003424109); AgentMeta._AgentMetas_[4147032071] = meta; meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { ET.AIAgent.LogMessage(param0); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); AgentMeta.Register <behaviac.Agent>("behaviac.Agent"); AgentMeta.Register <ET.SkillAgent>("ET.SkillAgent"); AgentMeta.Register <ET.AIAgent>("ET.AIAgent"); AgentMeta.Register <ET.SkillTargetCondition>("ET.SkillTargetCondition"); ComparerRegister.RegisterType <ET.SkillTargetCondition, CompareValue_ET_SkillTargetCondition>(); AgentMeta.Register <ET.UnitState>("ET.UnitState"); ComparerRegister.RegisterType <ET.UnitState, CompareValue_ET_UnitState>(); Agent.RegisterInstanceName <ET.SkillAgent>("ET::NormalAttack"); return(true); }
public override bool Load() { AgentMeta.TotalSignature = 1896202473; AgentMeta meta; // behaviac.Agent meta = new AgentMeta(24743406); AgentMeta._AgentMetas_[2436498804] = meta; meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { behaviac.Agent.LogMessage(param0); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); // FirstAgent meta = new AgentMeta(3588288675); AgentMeta._AgentMetas_[1778122110] = meta; meta.RegisterMemberProperty(2082220067, new CMemberProperty <int>("p1", delegate(Agent self, int value) { ((FirstAgent)self)._set_p1(value); }, delegate(Agent self) { return(((FirstAgent)self)._get_p1()); })); meta.RegisterMemberProperty(1462860768, new CMemberProperty <FirstStruct>("p2", delegate(Agent self, FirstStruct value) { ((FirstAgent)self)._set_p2(value); }, delegate(Agent self) { return(((FirstAgent)self)._get_p2()); })); meta.RegisterMemberProperty(1311394465, new CMemberProperty <FirstEnum>("p3", delegate(Agent self, FirstEnum value) { ((FirstAgent)self)._set_p3(value); }, delegate(Agent self) { return(((FirstAgent)self)._get_p3()); })); meta.RegisterMemberProperty(1144200279, new CMemberProperty <System.Object>("pInstance", delegate(Agent self, System.Object value) { ((FirstAgent)self)._set_pInstance(value); }, delegate(Agent self) { return(((FirstAgent)self)._get_pInstance()); })); meta.RegisterMethod(3345343196, new CAgentMethodVoid <int>(delegate(Agent self, int param0) { }) /* event_task */); meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { FirstAgent.LogMessage(param0); })); meta.RegisterMethod(702722749, new CMethod_FirstAgent_Say()); meta.RegisterMethod(1505908390, new CAgentMethodVoid(delegate(Agent self) { ((FirstAgent)self).SayHello(); })); meta.RegisterMethod(2645266540, new CAgentMethod <behaviac.EBTStatus, string, bool>(delegate(Agent self, string value, bool isLatent) { return(((FirstAgent)self).Says(value, isLatent)); })); meta.RegisterMethod(664995375, new CAgentMethod <behaviac.EBTStatus>(delegate(Agent self) { return(((FirstAgent)self).Start()); })); meta.RegisterMethod(2065006847, new CAgentMethodVoid <int>(delegate(Agent self, int param0) { }) /* t1 */); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); meta.RegisterMethod(994837275, new CAgentMethod <behaviac.EBTStatus>(delegate(Agent self) { return(((FirstAgent)self).Wait()); })); // SecondAgent meta = new AgentMeta(2420330950); AgentMeta._AgentMetas_[2432194202] = meta; meta.RegisterMemberProperty(1462860768, new CMemberProperty <int>("p2", delegate(Agent self, int value) { ((SecondAgent)self)._set_p2(value); }, delegate(Agent self) { return(((SecondAgent)self)._get_p2()); })); meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { SecondAgent.LogMessage(param0); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); AgentMeta.Register <behaviac.Agent>("behaviac.Agent"); AgentMeta.Register <FirstAgent>("FirstAgent"); AgentMeta.Register <SecondAgent>("SecondAgent"); AgentMeta.Register <FirstEnum>("FirstEnum"); ComparerRegister.RegisterType <FirstEnum, CompareValue_FirstEnum>(); AgentMeta.Register <FirstStruct>("FirstStruct"); ComparerRegister.RegisterType <FirstStruct, CompareValue_FirstStruct>(); Agent.RegisterInstanceName <SecondAgent>("SecondAgentInstance"); return(true); }
public override bool Load() { AgentMeta.TotalSignature = 3600341653; AgentMeta meta; // behaviac.Agent meta = new AgentMeta(24743406); AgentMeta._AgentMetas_[2436498804] = meta; meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { behaviac.Agent.LogMessage(param0); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); // stage_mgr meta = new AgentMeta(49702908); AgentMeta._AgentMetas_[4235165405] = meta; meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { stage_mgr.LogMessage(param0); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); meta.RegisterMethod(1043635496, new CAgentMethodVoid <string>(delegate(Agent self, string proc_id) { ((stage_mgr)self)._act_each_player_(proc_id); })); // role meta = new AgentMeta(1381354900); AgentMeta._AgentMetas_[2275423655] = meta; meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { role.LogMessage(param0); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); // player meta = new AgentMeta(494715068); AgentMeta._AgentMetas_[4192090602] = meta; meta.RegisterMemberProperty(3072594268, new CMemberProperty <int>("CARD_COUNT_PLAYER_START", delegate(Agent self, int value) { ((player)self)._set_CARD_COUNT_PLAYER_START(value); }, delegate(Agent self) { return(((player)self)._get_CARD_COUNT_PLAYER_START()); })); meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { player.LogMessage(param0); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); AgentMeta.Register <behaviac.Agent>("behaviac.Agent"); AgentMeta.Register <stage_mgr>("stage_mgr"); AgentMeta.Register <role>("role"); AgentMeta.Register <player>("player"); return(true); }
public override bool Load() { AgentMeta.TotalSignature = 2970163408; AgentMeta meta; // behaviac.Agent meta = new AgentMeta(24743406); AgentMeta._AgentMetas_[2436498804] = meta; meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { behaviac.Agent.LogMessage(param0); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); // CBTPlayer meta = new AgentMeta(2259110346); AgentMeta._AgentMetas_[2361377009] = meta; meta.RegisterMemberProperty(1881561774, new CMemberProperty <int>("m_Frames", delegate(Agent self, int value) { ((CBTPlayer)self).m_Frames = value; }, delegate(Agent self) { return(((CBTPlayer)self).m_Frames); })); meta.RegisterMemberProperty(3476008754, new CMemberProperty <uint>("m_iBaseSpeed", delegate(Agent self, uint value) { ((CBTPlayer)self).m_iBaseSpeed = value; }, delegate(Agent self) { return(((CBTPlayer)self).m_iBaseSpeed); })); meta.RegisterMethod(3088088344, new CAgentMethod <behaviac.EBTStatus>(delegate(Agent self) { return(((CBTPlayer)self).Action1()); })); meta.RegisterMethod(2317754266, new CAgentMethod <behaviac.EBTStatus>(delegate(Agent self) { return(((CBTPlayer)self).Action3()); })); meta.RegisterMethod(4094979492, new CAgentMethod <bool>(delegate(Agent self) { return(((CBTPlayer)self).Condition()); })); meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { CBTPlayer.LogMessage(param0); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); AgentMeta.Register <behaviac.Agent>("behaviac.Agent"); AgentMeta.Register <CBTPlayer>("CBTPlayer"); AgentMeta.Register <behaviac.EBTStatus>("behaviac.EBTStatus"); ComparerRegister.RegisterType <behaviac.EBTStatus, CompareValue_behaviac_EBTStatus>(); AgentMeta.Register <IList>("IList"); ComparerRegister.RegisterType <IList, CompareValue_IList>(); Agent.RegisterInstanceName <CBTPlayer>("CBTPlayer"); return(true); }
public override bool Load() { AgentMeta.TotalSignature = 2632253247; AgentMeta meta; // behaviac.Agent meta = new AgentMeta(24743406); AgentMeta._AgentMetas_[2436498804] = meta; meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { behaviac.Agent.LogMessage(param0); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); // BTBase meta = new AgentMeta(271115113); AgentMeta._AgentMetas_[552565153] = meta; meta.RegisterMemberProperty(1149798316, new CMemberProperty <bool>("p_IsCanMove", delegate(Agent self, bool value) { ((BTBase)self)._set_p_IsCanMove(value); }, delegate(Agent self) { return(((BTBase)self)._get_p_IsCanMove()); })); meta.RegisterMemberProperty(442615142, new CMemberProperty <bool>("p_IsMoveing", delegate(Agent self, bool value) { ((BTBase)self)._set_p_IsMoveing(value); }, delegate(Agent self) { return(((BTBase)self)._get_p_IsMoveing()); })); meta.RegisterMethod(1152745203, new CAgentMethodVoid <float>(delegate(Agent self, float distance) { ((BTBase)self).GetTargetPos(distance); })); meta.RegisterMethod(1759823772, new CAgentMethod <bool>(delegate(Agent self) { return(((BTBase)self).IsNearTargetPos()); })); meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { BTBase.LogMessage(param0); })); meta.RegisterMethod(1793645156, new CAgentMethodVoid <float>(delegate(Agent self, float speed) { ((BTBase)self).MoveToTarget(speed); })); meta.RegisterMethod(4017898676, new CAgentMethodVoid <string, bool>(delegate(Agent self, string param, bool enable) { ((BTBase)self).SetAnimatorBoolParameter(param, enable); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); AgentMeta.Register <behaviac.Agent>("behaviac.Agent"); AgentMeta.Register <BTBase>("BTBase"); return(true); }
static partial void registerMeta() { AgentMeta.TotalSignature = 2898454505; AgentMeta meta; // behaviac.Agent meta = new AgentMeta(1793552160); _agentMetas[2436498804] = meta; meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { behaviac.Agent.LogMessage(param0); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); // CBTPlayer meta = new AgentMeta(1028932821); _agentMetas[2361377009] = meta; meta.RegisterMemberProperty(1881561774, new CMemberProperty <int>("m_Frames", delegate(Agent self, int value) { ((CBTPlayer)self).m_Frames = value; }, delegate(Agent self) { return(((CBTPlayer)self).m_Frames); })); meta.RegisterMemberProperty(3476008754, new CMemberProperty <uint>("m_iBaseSpeed", delegate(Agent self, uint value) { ((CBTPlayer)self).m_iBaseSpeed = value; }, delegate(Agent self) { return(((CBTPlayer)self).m_iBaseSpeed); })); meta.RegisterMethod(3088088344, new CAgentMethod <behaviac.EBTStatus>(delegate(Agent self) { return(((CBTPlayer)self).Action1()); })); meta.RegisterMethod(2317754266, new CAgentMethod <behaviac.EBTStatus>(delegate(Agent self) { return(((CBTPlayer)self).Action3()); })); meta.RegisterMethod(4094979492, new CAgentMethod <bool>(delegate(Agent self) { return(((CBTPlayer)self).Condition()); })); meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { CBTPlayer.LogMessage(param0); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); AgentMeta.Register <behaviac.Agent>("behaviac.Agent"); AgentMeta.Register <behaviac.EBTStatus>("behaviac.EBTStatus"); AgentMeta.Register <CBTPlayer>("CBTPlayer"); AgentMeta.Register <System.Object>("System.Object"); Agent.RegisterInstanceName <CBTPlayer>("CBTPlayer"); }
public override bool Load() { AgentMeta.TotalSignature = 3403492403; AgentMeta meta; // behaviac.Agent meta = new AgentMeta(24743406); AgentMeta._AgentMetas_[2436498804] = meta; meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { behaviac.Agent.LogMessage(param0); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); // CharacterAgent meta = new AgentMeta(1867616810); AgentMeta._AgentMetas_[3209652550] = meta; meta.RegisterMemberProperty(3920670722, new CMemberProperty <uint>("m_CurTargetId", delegate(Agent self, uint value) { ((CharacterAgent)self)._set_m_CurTargetId(value); }, delegate(Agent self) { return(((CharacterAgent)self)._get_m_CurTargetId()); })); meta.RegisterMemberProperty(3197991956, new CMemberProperty <uint>("m_ExternalTargetId", delegate(Agent self, uint value) { ((CharacterAgent)self)._set_m_ExternalTargetId(value); }, delegate(Agent self) { return(((CharacterAgent)self)._get_m_ExternalTargetId()); })); meta.RegisterMethod(1672911688, new CAgentMethod <bool>(delegate(Agent self) { return(((CharacterAgent)self).CanUseSkill()); })); meta.RegisterMethod(4213484053, new CAgentMethod <float>(delegate(Agent self) { return(((CharacterAgent)self).DistanceToTarget()); })); meta.RegisterMethod(211686285, new CAgentMethodVoid(delegate(Agent self) { ((CharacterAgent)self).EscapeFromTarget(); })); meta.RegisterMethod(3148996176, new CAgentMethodVoid(delegate(Agent self) { ((CharacterAgent)self).FaceToTarget(); })); meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { CharacterAgent.LogMessage(param0); })); meta.RegisterMethod(1793645156, new CAgentMethod <behaviac.EBTStatus>(delegate(Agent self) { return(((CharacterAgent)self).MoveToTarget()); })); meta.RegisterMethod(605181692, new CAgentMethodVoid <string>(delegate(Agent self, string animName) { ((CharacterAgent)self).PlayAnimation(animName); })); meta.RegisterMethod(2313437402, new CAgentMethodVoid(delegate(Agent self) { ((CharacterAgent)self).StopMove(); })); meta.RegisterMethod(3934788799, new CAgentMethod <uint>(delegate(Agent self) { return(((CharacterAgent)self).TryFindTarget()); })); meta.RegisterMethod(2129264648, new CAgentMethodVoid <int>(delegate(Agent self, int SkillId) { ((CharacterAgent)self).UseSkill(SkillId); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); AgentMeta.Register <behaviac.Agent>("behaviac.Agent"); AgentMeta.Register <CharacterAgent>("CharacterAgent"); return(true); }
public override bool Load() { AgentMeta.TotalSignature = 3127239922; AgentMeta meta; // behaviac.Agent meta = new AgentMeta(24743406); AgentMeta._AgentMetas_[2436498804] = meta; meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { behaviac.Agent.LogMessage(param0); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); // YeGuaiAI meta = new AgentMeta(2087531885); AgentMeta._AgentMetas_[957028571] = meta; meta.RegisterMethod(3127879122, new CAgentMethodVoid(delegate(Agent self) { ((YeGuaiAI)self).Attack(); })); meta.RegisterMethod(1881567850, new CAgentMethod <behaviac.EBTStatus>(delegate(Agent self) { return(((YeGuaiAI)self).BackHome()); })); meta.RegisterMethod(3161391891, new CAgentMethod <behaviac.EBTStatus>(delegate(Agent self) { return(((YeGuaiAI)self).FindEnmey()); })); meta.RegisterMethod(3117059018, new CAgentMethod <behaviac.EBTStatus>(delegate(Agent self) { return(((YeGuaiAI)self).IsOutRang()); })); meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { YeGuaiAI.LogMessage(param0); })); meta.RegisterMethod(3293930300, new CAgentMethod <bool>(delegate(Agent self) { return(((YeGuaiAI)self).PursuitOrAttack()); })); meta.RegisterMethod(1206096729, new CAgentMethodVoid(delegate(Agent self) { ((YeGuaiAI)self).Pursuit(); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); AgentMeta.Register <behaviac.Agent>("behaviac.Agent"); AgentMeta.Register <YeGuaiAI>("YeGuaiAI"); Agent.RegisterInstanceName <YeGuaiAI>("YeGuaiAI"); behaviac.Workspace.Instance.UseIntValue = true; return(true); }
public override bool Load() { AgentMeta.TotalSignature = 574298859; AgentMeta meta; // behaviac.Agent meta = new AgentMeta(24743406); AgentMeta._AgentMetas_[2436498804] = meta; meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { behaviac.Agent.LogMessage(param0); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); // HoverBotAgent meta = new AgentMeta(4149785285); AgentMeta._AgentMetas_[413275441] = meta; meta.RegisterMemberProperty(957359226, new CMemberProperty <float>("TargetDist", delegate(Agent self, float value) { ((HoverBotAgent)self)._set_TargetDist(value); }, delegate(Agent self) { return(((HoverBotAgent)self)._get_TargetDist()); })); meta.RegisterMethod(2886181657, new CAgentMethod <behaviac.EBTStatus>(delegate(Agent self) { return(((HoverBotAgent)self).DoAttack()); })); meta.RegisterMethod(968481005, new CAgentMethod <behaviac.EBTStatus>(delegate(Agent self) { return(((HoverBotAgent)self).DoChase()); })); meta.RegisterMethod(977416345, new CAgentMethod <behaviac.EBTStatus>(delegate(Agent self) { return(((HoverBotAgent)self).DoPatrol()); })); meta.RegisterMethod(229439237, new CAgentMethod <float>(delegate(Agent self) { return(((HoverBotAgent)self).GetTargetDist()); })); meta.RegisterMethod(3047011226, new CAgentMethod <bool>(delegate(Agent self) { return(((HoverBotAgent)self).HasTarget()); })); meta.RegisterMethod(2546095383, new CAgentMethod <bool>(delegate(Agent self) { return(((HoverBotAgent)self).IsSeeingTarget()); })); meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { HoverBotAgent.LogMessage(param0); })); meta.RegisterMethod(2454683456, new CAgentMethod <behaviac.EBTStatus>(delegate(Agent self) { return(((HoverBotAgent)self).StopChase()); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); AgentMeta.Register <behaviac.Agent>("behaviac.Agent"); AgentMeta.Register <HoverBotAgent>("HoverBotAgent"); return(true); }
public override bool Load() { AgentMeta.TotalSignature = 2623873306; AgentMeta meta; // behaviac.Agent meta = new AgentMeta(24743406); AgentMeta._AgentMetas_[2436498804] = meta; meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { behaviac.Agent.LogMessage(param0); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); // FightAgent meta = new AgentMeta(2912840436); AgentMeta._AgentMetas_[2927482685] = meta; meta.RegisterMemberProperty(1074892373, new CMemberProperty <bool>("couldAttack", delegate(Agent self, bool value) { ((FightAgent)self)._set_couldAttack(value); }, delegate(Agent self) { return(((FightAgent)self)._get_couldAttack()); })); meta.RegisterMemberProperty(1823529647, new CMemberProperty <bool>("couldMove", delegate(Agent self, bool value) { ((FightAgent)self)._set_couldMove(value); }, delegate(Agent self) { return(((FightAgent)self)._get_couldMove()); })); meta.RegisterMemberProperty(4050060769, new CMemberProperty <bool>("isDead", delegate(Agent self, bool value) { ((FightAgent)self)._set_isDead(value); }, delegate(Agent self) { return(((FightAgent)self)._get_isDead()); })); meta.RegisterMemberProperty(2799042603, new CMemberProperty <behaviac.EBTStatus>("LifeStatus", delegate(Agent self, behaviac.EBTStatus value) { ((FightAgent)self)._set_LifeStatus(value); }, delegate(Agent self) { return(((FightAgent)self)._get_LifeStatus()); })); meta.RegisterMemberProperty(4005016119, new CMemberProperty <bVector3>("position", delegate(Agent self, bVector3 value) { ((FightAgent)self)._set_position(value); }, delegate(Agent self) { return(((FightAgent)self)._get_position()); })); meta.RegisterMethod(1054489725, new CAgentMethod <bool>(delegate(Agent self) { return(((FightAgent)self).IsDead()); })); meta.RegisterMethod(726511973, new CAgentMethod <bool>(delegate(Agent self) { return(((FightAgent)self).IsLowHp()); })); meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { FightAgent.LogMessage(param0); })); meta.RegisterMethod(181959349, new CAgentMethodVoid(delegate(Agent self) { ((FightAgent)self).PlayDead(); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); // BuildingAgent meta = new AgentMeta(744566553); AgentMeta._AgentMetas_[4051970114] = meta; meta.RegisterMemberProperty(1074892373, new CMemberProperty <bool>("couldAttack", delegate(Agent self, bool value) { ((BuildingAgent)self)._set_couldAttack(value); }, delegate(Agent self) { return(((BuildingAgent)self)._get_couldAttack()); })); meta.RegisterMemberProperty(1823529647, new CMemberProperty <bool>("couldMove", delegate(Agent self, bool value) { ((BuildingAgent)self)._set_couldMove(value); }, delegate(Agent self) { return(((BuildingAgent)self)._get_couldMove()); })); meta.RegisterMemberProperty(4050060769, new CMemberProperty <bool>("isDead", delegate(Agent self, bool value) { ((BuildingAgent)self)._set_isDead(value); }, delegate(Agent self) { return(((BuildingAgent)self)._get_isDead()); })); meta.RegisterMemberProperty(2799042603, new CMemberProperty <behaviac.EBTStatus>("LifeStatus", delegate(Agent self, behaviac.EBTStatus value) { ((BuildingAgent)self)._set_LifeStatus(value); }, delegate(Agent self) { return(((BuildingAgent)self)._get_LifeStatus()); })); meta.RegisterMemberProperty(4005016119, new CMemberProperty <bVector3>("position", delegate(Agent self, bVector3 value) { ((BuildingAgent)self)._set_position(value); }, delegate(Agent self) { return(((BuildingAgent)self)._get_position()); })); meta.RegisterMethod(1054489725, new CAgentMethod <bool>(delegate(Agent self) { return(((BuildingAgent)self).IsDead()); })); meta.RegisterMethod(726511973, new CAgentMethod <bool>(delegate(Agent self) { return(((BuildingAgent)self).IsLowHp()); })); meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { BuildingAgent.LogMessage(param0); })); meta.RegisterMethod(181959349, new CAgentMethodVoid(delegate(Agent self) { ((BuildingAgent)self).PlayDead(); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); // DefenseTowerAgent meta = new AgentMeta(2978994066); AgentMeta._AgentMetas_[1520164275] = meta; meta.RegisterMemberProperty(1074892373, new CMemberProperty <bool>("couldAttack", delegate(Agent self, bool value) { ((DefenseTowerAgent)self)._set_couldAttack(value); }, delegate(Agent self) { return(((DefenseTowerAgent)self)._get_couldAttack()); })); meta.RegisterMemberProperty(1823529647, new CMemberProperty <bool>("couldMove", delegate(Agent self, bool value) { ((DefenseTowerAgent)self)._set_couldMove(value); }, delegate(Agent self) { return(((DefenseTowerAgent)self)._get_couldMove()); })); meta.RegisterMemberProperty(1067866206, new CMemberProperty <FightAgent>("curTarget", delegate(Agent self, FightAgent value) { ((DefenseTowerAgent)self)._set_curTarget(value); }, delegate(Agent self) { return(((DefenseTowerAgent)self)._get_curTarget()); })); meta.RegisterMemberProperty(4050060769, new CMemberProperty <bool>("isDead", delegate(Agent self, bool value) { ((DefenseTowerAgent)self)._set_isDead(value); }, delegate(Agent self) { return(((DefenseTowerAgent)self)._get_isDead()); })); meta.RegisterMemberProperty(2799042603, new CMemberProperty <behaviac.EBTStatus>("LifeStatus", delegate(Agent self, behaviac.EBTStatus value) { ((DefenseTowerAgent)self)._set_LifeStatus(value); }, delegate(Agent self) { return(((DefenseTowerAgent)self)._get_LifeStatus()); })); meta.RegisterMemberProperty(4005016119, new CMemberProperty <bVector3>("position", delegate(Agent self, bVector3 value) { ((DefenseTowerAgent)self)._set_position(value); }, delegate(Agent self) { return(((DefenseTowerAgent)self)._get_position()); })); meta.RegisterMethod(3575241253, new CAgentMethod <behaviac.EBTStatus>(delegate(Agent self) { return(((DefenseTowerAgent)self).AttackCurEnemy()); })); meta.RegisterMethod(2972488885, new CAgentMethod <FightAgent>(delegate(Agent self) { return(((DefenseTowerAgent)self).FindEnemyInRange()); })); meta.RegisterMethod(1054489725, new CAgentMethod <bool>(delegate(Agent self) { return(((DefenseTowerAgent)self).IsDead()); })); meta.RegisterMethod(726511973, new CAgentMethod <bool>(delegate(Agent self) { return(((DefenseTowerAgent)self).IsLowHp()); })); meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { DefenseTowerAgent.LogMessage(param0); })); meta.RegisterMethod(181959349, new CAgentMethodVoid(delegate(Agent self) { ((DefenseTowerAgent)self).PlayDead(); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); // SoilderAgent meta = new AgentMeta(549697942); AgentMeta._AgentMetas_[4286480859] = meta; meta.RegisterMemberProperty(1074892373, new CMemberProperty <bool>("couldAttack", delegate(Agent self, bool value) { ((SoilderAgent)self)._set_couldAttack(value); }, delegate(Agent self) { return(((SoilderAgent)self)._get_couldAttack()); })); meta.RegisterMemberProperty(1823529647, new CMemberProperty <bool>("couldMove", delegate(Agent self, bool value) { ((SoilderAgent)self)._set_couldMove(value); }, delegate(Agent self) { return(((SoilderAgent)self)._get_couldMove()); })); meta.RegisterMemberProperty(593809957, new CMemberProperty <ActionStatus>("curActionStatus", delegate(Agent self, ActionStatus value) { ((SoilderAgent)self)._set_curActionStatus(value); }, delegate(Agent self) { return(((SoilderAgent)self)._get_curActionStatus()); })); meta.RegisterMemberProperty(2679270583, new CMemberProperty <FightAgent>("curEnemyTarget", delegate(Agent self, FightAgent value) { ((SoilderAgent)self)._set_curEnemyTarget(value); }, delegate(Agent self) { return(((SoilderAgent)self)._get_curEnemyTarget()); })); meta.RegisterMemberProperty(1428937743, new CMemberProperty <Situation>("curSituation", delegate(Agent self, Situation value) { ((SoilderAgent)self)._set_curSituation(value); }, delegate(Agent self) { return(((SoilderAgent)self)._get_curSituation()); })); meta.RegisterMemberProperty(1608869297, new CMemberProperty <bVector3>("curTacticAtkPos", delegate(Agent self, bVector3 value) { ((SoilderAgent)self)._set_curTacticAtkPos(value); }, delegate(Agent self) { return(((SoilderAgent)self)._get_curTacticAtkPos()); })); meta.RegisterMemberProperty(4009490894, new CMemberProperty <bVector3>("homePoint", delegate(Agent self, bVector3 value) { ((SoilderAgent)self)._set_homePoint(value); }, delegate(Agent self) { return(((SoilderAgent)self)._get_homePoint()); })); meta.RegisterMemberProperty(4050060769, new CMemberProperty <bool>("isDead", delegate(Agent self, bool value) { ((SoilderAgent)self)._set_isDead(value); }, delegate(Agent self) { return(((SoilderAgent)self)._get_isDead()); })); meta.RegisterMemberProperty(2799042603, new CMemberProperty <behaviac.EBTStatus>("LifeStatus", delegate(Agent self, behaviac.EBTStatus value) { ((SoilderAgent)self)._set_LifeStatus(value); }, delegate(Agent self) { return(((SoilderAgent)self)._get_LifeStatus()); })); meta.RegisterMemberProperty(4005016119, new CMemberProperty <bVector3>("position", delegate(Agent self, bVector3 value) { ((SoilderAgent)self)._set_position(value); }, delegate(Agent self) { return(((SoilderAgent)self)._get_position()); })); meta.RegisterMethod(3127879122, new CMethod_SoilderAgent_Attack()); meta.RegisterMethod(1629954219, new CAgentMethodVoid <bVector3>(delegate(Agent self, bVector3 task_pos) { }) /* AttackToPos_task */); meta.RegisterMethod(783803240, new CAgentMethodVoid <FightAgent>(delegate(Agent self, FightAgent task_chaseTarget) { }) /* ChaseAndAttack_task */); meta.RegisterMethod(2716570482, new CAgentMethod <FightAgent>(delegate(Agent self) { return(((SoilderAgent)self).GetNearestEnemy()); })); meta.RegisterMethod(2253404977, new CAgentMethod <behaviac.EBTStatus>(delegate(Agent self) { return(((SoilderAgent)self).Idle()); })); meta.RegisterMethod(1054489725, new CAgentMethod <bool>(delegate(Agent self) { return(((SoilderAgent)self).IsDead()); })); meta.RegisterMethod(726511973, new CAgentMethod <bool>(delegate(Agent self) { return(((SoilderAgent)self).IsLowHp()); })); meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { SoilderAgent.LogMessage(param0); })); meta.RegisterMethod(2754924504, new CMethod_SoilderAgent_MoveTo()); meta.RegisterMethod(1793645156, new CMethod_SoilderAgent_MoveToTarget()); meta.RegisterMethod(181959349, new CAgentMethodVoid(delegate(Agent self) { ((SoilderAgent)self).PlayDead(); })); meta.RegisterMethod(3970781763, new CMethod_SoilderAgent_TestEnemyInAtkRange()); meta.RegisterMethod(3756619215, new CAgentMethod <bool>(delegate(Agent self) { return(((SoilderAgent)self).TestHasAtkToPosCommand()); })); meta.RegisterMethod(700275576, new CAgentMethod <bool>(delegate(Agent self) { return(((SoilderAgent)self).TestHasEnemyInEyeRange()); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); // HeroAgent meta = new AgentMeta(3064835767); AgentMeta._AgentMetas_[2270112014] = meta; meta.RegisterMemberProperty(1074892373, new CMemberProperty <bool>("couldAttack", delegate(Agent self, bool value) { ((HeroAgent)self)._set_couldAttack(value); }, delegate(Agent self) { return(((HeroAgent)self)._get_couldAttack()); })); meta.RegisterMemberProperty(1823529647, new CMemberProperty <bool>("couldMove", delegate(Agent self, bool value) { ((HeroAgent)self)._set_couldMove(value); }, delegate(Agent self) { return(((HeroAgent)self)._get_couldMove()); })); meta.RegisterMemberProperty(593809957, new CMemberProperty <ActionStatus>("curActionStatus", delegate(Agent self, ActionStatus value) { ((HeroAgent)self)._set_curActionStatus(value); }, delegate(Agent self) { return(((HeroAgent)self)._get_curActionStatus()); })); meta.RegisterMemberProperty(2679270583, new CMemberProperty <FightAgent>("curEnemyTarget", delegate(Agent self, FightAgent value) { ((HeroAgent)self)._set_curEnemyTarget(value); }, delegate(Agent self) { return(((HeroAgent)self)._get_curEnemyTarget()); })); meta.RegisterMemberProperty(1428937743, new CMemberProperty <Situation>("curSituation", delegate(Agent self, Situation value) { ((HeroAgent)self)._set_curSituation(value); }, delegate(Agent self) { return(((HeroAgent)self)._get_curSituation()); })); meta.RegisterMemberProperty(1608869297, new CMemberProperty <bVector3>("curTacticAtkPos", delegate(Agent self, bVector3 value) { ((HeroAgent)self)._set_curTacticAtkPos(value); }, delegate(Agent self) { return(((HeroAgent)self)._get_curTacticAtkPos()); })); meta.RegisterMemberProperty(3679778246, new CMemberProperty <bVector3>("fleePos", delegate(Agent self, bVector3 value) { ((HeroAgent)self)._set_fleePos(value); }, delegate(Agent self) { return(((HeroAgent)self)._get_fleePos()); })); meta.RegisterMemberProperty(4009490894, new CMemberProperty <bVector3>("homePoint", delegate(Agent self, bVector3 value) { ((HeroAgent)self)._set_homePoint(value); }, delegate(Agent self) { return(((HeroAgent)self)._get_homePoint()); })); meta.RegisterMemberProperty(4050060769, new CMemberProperty <bool>("isDead", delegate(Agent self, bool value) { ((HeroAgent)self)._set_isDead(value); }, delegate(Agent self) { return(((HeroAgent)self)._get_isDead()); })); meta.RegisterMemberProperty(2799042603, new CMemberProperty <behaviac.EBTStatus>("LifeStatus", delegate(Agent self, behaviac.EBTStatus value) { ((HeroAgent)self)._set_LifeStatus(value); }, delegate(Agent self) { return(((HeroAgent)self)._get_LifeStatus()); })); meta.RegisterMemberProperty(4005016119, new CMemberProperty <bVector3>("position", delegate(Agent self, bVector3 value) { ((HeroAgent)self)._set_position(value); }, delegate(Agent self) { return(((HeroAgent)self)._get_position()); })); meta.RegisterMemberProperty(1022875399, new CMemberProperty <bVector3>("retreatPos", delegate(Agent self, bVector3 value) { ((HeroAgent)self)._set_retreatPos(value); }, delegate(Agent self) { return(((HeroAgent)self)._get_retreatPos()); })); meta.RegisterMethod(2674554263, new CAgentMethod <bool>(delegate(Agent self) { return(((HeroAgent)self).ArrivedRetreatPos()); })); meta.RegisterMethod(3127879122, new CMethod_SoilderAgent_Attack()); meta.RegisterMethod(1629954219, new CAgentMethodVoid <bVector3>(delegate(Agent self, bVector3 task_pos) { }) /* AttackToPos_task */); meta.RegisterMethod(3981281435, new CAgentMethod <behaviac.EBTStatus>(delegate(Agent self) { return(((HeroAgent)self).CallFriendHeroToHealMe()); })); meta.RegisterMethod(783803240, new CAgentMethodVoid <FightAgent>(delegate(Agent self, FightAgent task_chaseTarget) { }) /* ChaseAndAttack_task */); meta.RegisterMethod(1105002646, new CAgentMethod <behaviac.EBTStatus>(delegate(Agent self) { return(((HeroAgent)self).CombooKill()); })); meta.RegisterMethod(143620965, new CAgentMethodVoid <bVector3>(delegate(Agent self, bVector3 task_cooperatePos) { }) /* Cooperate_task */); meta.RegisterMethod(592004963, new CAgentMethod <bool>(delegate(Agent self) { return(((HeroAgent)self).CouldBeSecKilled()); })); meta.RegisterMethod(1497521703, new CAgentMethod <bool>(delegate(Agent self) { return(((HeroAgent)self).CouldUseQuickHeal()); })); meta.RegisterMethod(2027654893, new CAgentMethod <bool>(delegate(Agent self) { return(((HeroAgent)self).CouldUseSlowHeal()); })); meta.RegisterMethod(1787278696, new CAgentMethod <bVector3>(delegate(Agent self) { return(((HeroAgent)self).GetCurReseanableTacticsTarget()); })); meta.RegisterMethod(749487724, new CAgentMethod <float>(delegate(Agent self) { return(((HeroAgent)self).GetDistanceFromHome()); })); meta.RegisterMethod(1218032045, new CAgentMethod <int>(delegate(Agent self) { return(((HeroAgent)self).GetEnemyCountInRange()); })); meta.RegisterMethod(2743497259, new CAgentMethod <int>(delegate(Agent self) { return(((HeroAgent)self).GetEnemyHeroCountInRange()); })); meta.RegisterMethod(3513837595, new CAgentMethod <int>(delegate(Agent self) { return(((HeroAgent)self).GetFirendHeroCountInRange()); })); meta.RegisterMethod(3164054455, new CAgentMethod <int>(delegate(Agent self) { return(((HeroAgent)self).GetFriendCountInRange()); })); meta.RegisterMethod(2716570482, new CAgentMethod <FightAgent>(delegate(Agent self) { return(((HeroAgent)self).GetNearestEnemy()); })); meta.RegisterMethod(1237488994, new CAgentMethod <FightAgent>(delegate(Agent self) { return(((HeroAgent)self).GetWeakestEnemy()); })); meta.RegisterMethod(2569706439, new CAgentMethod <FightAgent>(delegate(Agent self) { return(((HeroAgent)self).GetWeakHeroInRange()); })); meta.RegisterMethod(2547311622, new CAgentMethod <bool>(delegate(Agent self) { return(((HeroAgent)self).HasCombooKill()); })); meta.RegisterMethod(1496859174, new CAgentMethod <bool>(delegate(Agent self) { return(((HeroAgent)self).HasEnemyInEyeRange()); })); meta.RegisterMethod(996104106, new CAgentMethod <bool>(delegate(Agent self) { return(((HeroAgent)self).HasReturnHomeSkill()); })); meta.RegisterMethod(1519838893, new CAgentMethod <bool>(delegate(Agent self) { return(((HeroAgent)self).HasTreasureInEyeRange()); })); meta.RegisterMethod(2253404977, new CAgentMethod <behaviac.EBTStatus>(delegate(Agent self) { return(((HeroAgent)self).Idle()); })); meta.RegisterMethod(1054489725, new CAgentMethod <bool>(delegate(Agent self) { return(((HeroAgent)self).IsDead()); })); meta.RegisterMethod(2432849062, new CAgentMethod <bool>(delegate(Agent self) { return(((HeroAgent)self).IsEnemyChasing()); })); meta.RegisterMethod(1778583587, new CMethod_HeroAgent_IsInLootRange()); meta.RegisterMethod(726511973, new CAgentMethod <bool>(delegate(Agent self) { return(((HeroAgent)self).IsLowHp()); })); meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { HeroAgent.LogMessage(param0); })); meta.RegisterMethod(3468933412, new CMethod_HeroAgent_LootTreasure()); meta.RegisterMethod(762819242, new CAgentMethodVoid <FightAgent>(delegate(Agent self, FightAgent task_treasure) { }) /* LootTreasure_task */); meta.RegisterMethod(2754924504, new CMethod_SoilderAgent_MoveTo()); meta.RegisterMethod(1793645156, new CMethod_SoilderAgent_MoveToTarget()); meta.RegisterMethod(181959349, new CAgentMethodVoid(delegate(Agent self) { ((HeroAgent)self).PlayDead(); })); meta.RegisterMethod(2057619381, new CAgentMethod <behaviac.EBTStatus>(delegate(Agent self) { return(((HeroAgent)self).QuickHeal()); })); meta.RegisterMethod(4056496344, new CMethod_HeroAgent_SetRetreatPos()); meta.RegisterMethod(563297901, new CAgentMethod <behaviac.EBTStatus>(delegate(Agent self) { return(((HeroAgent)self).SkillReturnHome()); })); meta.RegisterMethod(420198528, new CAgentMethod <behaviac.EBTStatus>(delegate(Agent self) { return(((HeroAgent)self).SlowHealSelf()); })); meta.RegisterMethod(2783913227, new CAgentMethodVoid <bVector3>(delegate(Agent self, bVector3 task_tacticsAtkPos) { }) /* TacticsAttack_task */); meta.RegisterMethod(3500369013, new CAgentMethodVoid <bVector3>(delegate(Agent self, bVector3 task_RetreatPos) { }) /* TempRetreat_task */); meta.RegisterMethod(2100968353, new CAgentMethod <bool>(delegate(Agent self) { return(((HeroAgent)self).TestArrivedTacticsTarget()); })); meta.RegisterMethod(2854910934, new CAgentMethod <Situation>(delegate(Agent self) { return(((HeroAgent)self).TestCurSituation()); })); meta.RegisterMethod(3970781763, new CMethod_SoilderAgent_TestEnemyInAtkRange()); meta.RegisterMethod(982139696, new CAgentMethod <bool>(delegate(Agent self) { return(((HeroAgent)self).TestFriendHeroCouldHealMe()); })); meta.RegisterMethod(3756619215, new CAgentMethod <bool>(delegate(Agent self) { return(((HeroAgent)self).TestHasAtkToPosCommand()); })); meta.RegisterMethod(700275576, new CAgentMethod <bool>(delegate(Agent self) { return(((HeroAgent)self).TestHasEnemyInEyeRange()); })); meta.RegisterMethod(3000592579, new CAgentMethod <bool>(delegate(Agent self) { return(((HeroAgent)self).TestHasTacticsTargetLeft()); })); meta.RegisterMethod(1819711739, new CAgentMethod <bool>(delegate(Agent self) { return(((HeroAgent)self).TestSomeEnemyHeroCouldBeKilled()); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); AgentMeta.Register <behaviac.Agent>("behaviac.Agent"); AgentMeta.Register <FightAgent>("FightAgent"); AgentMeta.Register <BuildingAgent>("BuildingAgent"); AgentMeta.Register <DefenseTowerAgent>("DefenseTowerAgent"); AgentMeta.Register <SoilderAgent>("SoilderAgent"); AgentMeta.Register <HeroAgent>("HeroAgent"); AgentMeta.Register <Situation>("Situation"); ComparerRegister.RegisterType <Situation, CompareValue_Situation>(); AgentMeta.Register <ActionStatus>("ActionStatus"); ComparerRegister.RegisterType <ActionStatus, CompareValue_ActionStatus>(); AgentMeta.Register <bVector3>("bVector3"); ComparerRegister.RegisterType <bVector3, CompareValue_bVector3>(); return(true); }
static partial void registerMeta() { // --------------------------------------------------------------------- // properties // --------------------------------------------------------------------- AgentMeta meta; // behaviac.Agent meta = new AgentMeta(); _agentMetas[2436498804] = meta; meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { behaviac.Agent.LogMessage(param0); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); // GameActor meta = new AgentMeta(); _agentMetas[1627260109] = meta; meta.RegisterMemberProperty(2753746913, new CMemberProperty <float>("currentOrientation", delegate(Agent self, float value) { ((GameActor)self).currentOrientation = value; }, delegate(Agent self) { return(((GameActor)self).currentOrientation); })); meta.RegisterMemberProperty(1756701828, new CMemberProperty <eGameForce>("force", delegate(Agent self, eGameForce value) { ((GameActor)self).force = value; }, delegate(Agent self) { return(((GameActor)self).force); })); meta.RegisterMemberProperty(4158177446, new CMemberProperty <int>("gameScore", delegate(Agent self, int value) { ((GameActor)self).gameScore = value; }, delegate(Agent self) { return(((GameActor)self).gameScore); })); meta.RegisterMethod(4199097511, new CAgentMethod <behaviac.EBTStatus, UnityEngine.Vector3, int>(delegate(Agent self, UnityEngine.Vector3 param0, int param1) { return(((GameActor)self).findPath(param0, param1)); })); meta.RegisterMethod(1626091144, new CAgentMethod <eMapDirection, eMapDirection>(delegate(Agent self, eMapDirection param0) { return(((GameActor)self).getBestMoveDirection(param0)); })); meta.RegisterMethod(3755356592, new CAgentMethod <int>(delegate(Agent self) { return(((GameActor)self).getPathDistance()); })); meta.RegisterMethod(3252698044, new CAgentMethod <behaviac.EBTStatus>(delegate(Agent self) { return(((GameActor)self).moveForward()); })); meta.RegisterMethod(1961188964, new CAgentMethod <behaviac.EBTStatus, eMapDirection>(delegate(Agent self, eMapDirection param0) { return(((GameActor)self).moveToDirection(param0)); })); meta.RegisterMethod(3698607782, new CAgentMethod <behaviac.EBTStatus>(delegate(Agent self) { return(((GameActor)self).navigate()); })); meta.RegisterMethod(2618631093, new CAgentMethod <behaviac.EBTStatus, float>(delegate(Agent self, float param0) { return(((GameActor)self).rotateToAngle(param0)); })); meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { GameActor.LogMessage(param0); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); // GameLevelCommon meta = new AgentMeta(); _agentMetas[1628794678] = meta; meta.RegisterMemberProperty(3158683272, new CStaticMemberProperty <int>("actorWalkLevel", delegate(int value) { GameLevelCommon.actorWalkLevel = value; }, delegate() { return(GameLevelCommon.actorWalkLevel); })); meta.RegisterMemberProperty(2745407180, new CStaticMemberProperty <int>("allWalkLevel", delegate(int value) { GameLevelCommon.allWalkLevel = value; }, delegate() { return(GameLevelCommon.allWalkLevel); })); meta.RegisterMemberProperty(986146567, new CStaticMemberProperty <int>("bulletWalkLevel", delegate(int value) { GameLevelCommon.bulletWalkLevel = value; }, delegate() { return(GameLevelCommon.bulletWalkLevel); })); meta.RegisterMemberProperty(592530272, new CStaticMemberProperty <int>("defaultWalkLevel", delegate(int value) { GameLevelCommon.defaultWalkLevel = value; }, delegate() { return(GameLevelCommon.defaultWalkLevel); })); meta.RegisterMemberProperty(70435140, new CMemberProperty <bool>("isPlayerAlive", delegate(Agent self, bool value) { ((GameLevelCommon)self).isPlayerAlive = value; }, delegate(Agent self) { return(((GameLevelCommon)self).isPlayerAlive); })); meta.RegisterMemberProperty(707149732, new CStaticMemberProperty <int>("soilSteelOceanWalkLevel", delegate(int value) { GameLevelCommon.soilSteelOceanWalkLevel = value; }, delegate() { return(GameLevelCommon.soilSteelOceanWalkLevel); })); meta.RegisterMemberProperty(4227530859, new CStaticMemberProperty <int>("soilSteelWalkLevel", delegate(int value) { GameLevelCommon.soilSteelWalkLevel = value; }, delegate() { return(GameLevelCommon.soilSteelWalkLevel); })); meta.RegisterMemberProperty(4263539745, new CStaticMemberProperty <int>("soilWalkLevel", delegate(int value) { GameLevelCommon.soilWalkLevel = value; }, delegate() { return(GameLevelCommon.soilWalkLevel); })); meta.RegisterMethod(264642526, new CAgentMethodVoid(delegate(Agent self) { ((GameLevelCommon)self).continueGame(); })); meta.RegisterMethod(30218961, new CAgentMethod <int, int>(delegate(Agent self, int param0) { return(((GameLevelCommon)self).getActorLifeCount(param0)); })); meta.RegisterMethod(3548626221, new CMethod_GameLevelCommon_getAvailabeMoveDirection()); meta.RegisterMethod(436701902, new CAgentMethod <UnityEngine.Vector3, int>(delegate(Agent self, int param0) { return(((GameLevelCommon)self).getAwardPosition(param0)); })); meta.RegisterMethod(2965064745, new CMethod_GameLevelCommon_getBrickType()); meta.RegisterMethod(544003837, new CAgentStaticMethod <UnityEngine.Color, List <UnityEngine.Color>, int>(delegate(List <UnityEngine.Color> param0, int param1) { return(GameLevelCommon.getColorArrayElement(param0, param1)); })); meta.RegisterMethod(117177237, new CAgentMethod <int>(delegate(Agent self) { return(((GameLevelCommon)self).getEnemyCount()); })); meta.RegisterMethod(3697387725, new CMethod_GameLevelCommon_getEnemyPosition()); meta.RegisterMethod(376329892, new CAgentStaticMethod <eGameForce, List <eGameForce>, int>(delegate(List <eGameForce> param0, int param1) { return(GameLevelCommon.getGameForceArrayElement(param0, param1)); })); meta.RegisterMethod(837399323, new CAgentStaticMethod <int, List <int>, int>(delegate(List <int> param0, int param1) { return(GameLevelCommon.getIntArrayElement(param0, param1)); })); meta.RegisterMethod(245727536, new CAgentMethod <int>(delegate(Agent self) { return(((GameLevelCommon)self).getNearestAwardID()); })); meta.RegisterMethod(3067406351, new CAgentMethod <behaviac.Agent, eGameForce>(delegate(Agent self, eGameForce param0) { return(((GameLevelCommon)self).getNearestEnemy(param0)); })); meta.RegisterMethod(3589271143, new CAgentMethod <behaviac.Agent>(delegate(Agent self) { return(((GameLevelCommon)self).getPlayer()); })); meta.RegisterMethod(570880473, new CAgentStaticMethod <string, List <string>, int>(delegate(List <string> param0, int param1) { return(GameLevelCommon.getStringArrayElement(param0, param1)); })); meta.RegisterMethod(1207213688, new CAgentMethod <behaviac.EBTStatus, int>(delegate(Agent self, int param0) { return(((GameLevelCommon)self).isActorAlive(param0)); })); meta.RegisterMethod(3613902360, new CAgentMethod <behaviac.EBTStatus>(delegate(Agent self) { return(((GameLevelCommon)self).isAllEnemyDeadForever()); })); meta.RegisterMethod(934651765, new CAgentMethod <bool, int>(delegate(Agent self, int param0) { return(((GameLevelCommon)self).isAwardExist(param0)); })); meta.RegisterMethod(2593994091, new CAgentMethod <bool, eBrickType, int>(delegate(Agent self, eBrickType param0, int param1) { return(((GameLevelCommon)self).isBrickTypeWakable(param0, param1)); })); meta.RegisterMethod(2324673246, new CAgentMethod <behaviac.EBTStatus>(delegate(Agent self) { return(((GameLevelCommon)self).isPlayerDeadForever()); })); meta.RegisterMethod(189354342, new CAgentMethod <bool, int, int, int>(delegate(Agent self, int param0, int param1, int param2) { return(((GameLevelCommon)self).isPointWakable(param0, param1, param2)); })); meta.RegisterMethod(2402022264, new CAgentMethod <float, float, float>(delegate(Agent self, float param0, float param1) { return(((GameLevelCommon)self).randomNumberFloat(param0, param1)); })); meta.RegisterMethod(836754027, new CAgentMethod <int, int, int>(delegate(Agent self, int param0, int param1) { return(((GameLevelCommon)self).randomNumberInt(param0, param1)); })); meta.RegisterMethod(616993231, new CAgentMethodVoid <int, int>(delegate(Agent self, int param0, int param1) { ((GameLevelCommon)self).setActorLifeCount(param0, param1); })); meta.RegisterMethod(4216187258, new CAgentMethodVoid <int>(delegate(Agent self, int param0) { ((GameLevelCommon)self).setMainCharID(param0); })); meta.RegisterMethod(785913501, new CAgentMethod <behaviac.EBTStatus>(delegate(Agent self) { return(((GameLevelCommon)self).showCredit()); })); meta.RegisterMethod(2309507932, new CAgentMethod <behaviac.EBTStatus, int, int, int, float>(delegate(Agent self, int param0, int param1, int param2, float param3) { return(((GameLevelCommon)self).spawnAward(param0, param1, param2, param3)); })); meta.RegisterMethod(39741690, new CMethod_GameLevelCommon_spawnEffect()); meta.RegisterMethod(40725768, new CAgentMethod <int, string, UnityEngine.Color, int>(delegate(Agent self, string param0, UnityEngine.Color param1, int param2) { return(((GameLevelCommon)self).spawnGameActor1(param0, param1, param2)); })); meta.RegisterMethod(692076235, new CAgentMethod <int, string, int, UnityEngine.Color>(delegate(Agent self, string param0, int param1, UnityEngine.Color param2) { return(((GameLevelCommon)self).spawnGameActor2(param0, param1, param2)); })); meta.RegisterMethod(811274122, new CAgentMethod <int, string, UnityEngine.Color>(delegate(Agent self, string param0, UnityEngine.Color param1) { return(((GameLevelCommon)self).spawnGameActor3(param0, param1)); })); meta.RegisterMethod(2132449613, new CAgentMethod <int, eGameForce, string, int, UnityEngine.Color, int>(delegate(Agent self, eGameForce param0, string param1, int param2, UnityEngine.Color param3, int param4) { return(((GameLevelCommon)self).spawnGameActor4(param0, param1, param2, param3, param4)); })); meta.RegisterMethod(2412112748, new CAgentMethod <int, eGameForce>(delegate(Agent self, eGameForce param0) { return(((GameLevelCommon)self).spawnRandomActor(param0)); })); meta.RegisterMethod(2970214778, new CAgentMethodVoid <bool>(delegate(Agent self, bool param0) { ((GameLevelCommon)self).stopGame(param0); })); meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { GameLevelCommon.LogMessage(param0); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); // Player meta = new AgentMeta(); _agentMetas[912457846] = meta; meta.RegisterMemberProperty(622841434, new CMemberProperty <int>("damageLevel", delegate(Agent self, int value) { ((Player)self).damageLevel = value; }, delegate(Agent self) { return(((Player)self).damageLevel); })); meta.RegisterMemberProperty(2269881519, new CMemberProperty <int>("hp", delegate(Agent self, int value) { ((Player)self).hp = value; }, delegate(Agent self) { return(((Player)self).hp); })); meta.RegisterMemberProperty(767337018, new CMemberProperty <int>("Index", delegate(Agent self, int value) { ((Player)self).Index = value; }, delegate(Agent self) { return(((Player)self).Index); })); meta.RegisterMemberProperty(2753746913, new CMemberProperty <float>("currentOrientation", delegate(Agent self, float value) { ((Player)self).currentOrientation = value; }, delegate(Agent self) { return(((Player)self).currentOrientation); })); meta.RegisterMemberProperty(1756701828, new CMemberProperty <eGameForce>("force", delegate(Agent self, eGameForce value) { ((Player)self).force = value; }, delegate(Agent self) { return(((Player)self).force); })); meta.RegisterMemberProperty(4158177446, new CMemberProperty <int>("gameScore", delegate(Agent self, int value) { ((Player)self).gameScore = value; }, delegate(Agent self) { return(((Player)self).gameScore); })); meta.RegisterCustomizedProperty(525979889, new CCustomizedProperty <behaviac.EBTStatus>(525979889, "Status", "BT_INVALID")); meta.RegisterMethod(3557495925, new CAgentMethod <behaviac.EBTStatus, float>(delegate(Agent self, float param0) { return(((Player)self).aimToAngle(param0)); })); meta.RegisterMethod(3177487640, new CAgentMethod <behaviac.EBTStatus, UnityEngine.Vector3>(delegate(Agent self, UnityEngine.Vector3 param0) { return(((Player)self).aimToTarget(param0)); })); meta.RegisterMethod(2668400177, new CAgentMethod <behaviac.EBTStatus, int>(delegate(Agent self, int param0) { return(((Player)self).canDestroyBrick(param0)); })); meta.RegisterMethod(2108158066, new CAgentMethod <int, eMapDirection>(delegate(Agent self, eMapDirection param0) { return(((Player)self).detectEnemy(param0)); })); meta.RegisterMethod(123494839, new CAgentMethod <float>(delegate(Agent self) { return(((Player)self).detectNearestEnemyInView()); })); meta.RegisterMethod(1386074925, new CAgentMethod <behaviac.EBTStatus>(delegate(Agent self) { return(((Player)self).findNearestEnemy()); })); meta.RegisterMethod(554947907, new CAgentMethod <behaviac.EBTStatus>(delegate(Agent self) { return(((Player)self).fire()); })); meta.RegisterMethod(3079621360, new CMethod_Player_getInfo()); meta.RegisterMethod(1558361042, new CMethod_Player_getTarget()); meta.RegisterMethod(3199795965, new CAgentMethod <eMapDirection, UnityEngine.Vector3>(delegate(Agent self, UnityEngine.Vector3 param0) { return(((Player)self).locationTendencyToTarget(param0)); })); meta.RegisterMethod(1405399204, new CAgentMethod <behaviac.EBTStatus, UnityEngine.Vector3>(delegate(Agent self, UnityEngine.Vector3 param0) { return((behaviac.EBTStatus)AgentMetaVisitor.ExecuteMethod(self, "moveto", new object[] { param0 })); })); meta.RegisterMethod(354068350, new CMethod_Player_predicateFirePoint()); meta.RegisterMethod(251027700, new CAgentMethodVoid <float, int>(delegate(Agent self, float param0, int param1) { ((Player)self).printf(param0, param1); })); meta.RegisterMethod(4199097511, new CAgentMethod <behaviac.EBTStatus, UnityEngine.Vector3, int>(delegate(Agent self, UnityEngine.Vector3 param0, int param1) { return(((Player)self).findPath(param0, param1)); })); meta.RegisterMethod(1626091144, new CAgentMethod <eMapDirection, eMapDirection>(delegate(Agent self, eMapDirection param0) { return(((Player)self).getBestMoveDirection(param0)); })); meta.RegisterMethod(3755356592, new CAgentMethod <int>(delegate(Agent self) { return(((Player)self).getPathDistance()); })); meta.RegisterMethod(3252698044, new CAgentMethod <behaviac.EBTStatus>(delegate(Agent self) { return(((Player)self).moveForward()); })); meta.RegisterMethod(1961188964, new CAgentMethod <behaviac.EBTStatus, eMapDirection>(delegate(Agent self, eMapDirection param0) { return(((Player)self).moveToDirection(param0)); })); meta.RegisterMethod(3698607782, new CAgentMethod <behaviac.EBTStatus>(delegate(Agent self) { return(((Player)self).navigate()); })); meta.RegisterMethod(2618631093, new CAgentMethod <behaviac.EBTStatus, float>(delegate(Agent self, float param0) { return(((Player)self).rotateToAngle(param0)); })); meta.RegisterMethod(1045109914, new CAgentStaticMethodVoid <string>(delegate(string param0) { Player.LogMessage(param0); })); meta.RegisterMethod(2521019022, new CMethod_behaviac_Agent_VectorAdd()); meta.RegisterMethod(2306090221, new CMethod_behaviac_Agent_VectorClear()); meta.RegisterMethod(3483755530, new CMethod_behaviac_Agent_VectorContains()); meta.RegisterMethod(505785840, new CMethod_behaviac_Agent_VectorLength()); meta.RegisterMethod(502968959, new CMethod_behaviac_Agent_VectorRemove()); AgentMeta.Register <behaviac.Agent>("behaviac.Agent"); AgentMeta.Register <behaviac.EBTStatus>("behaviac.EBTStatus"); AgentMeta.Register <eBrickType>("eBrickType"); AgentMeta.Register <eGameForce>("eGameForce"); AgentMeta.Register <eMapDirection>("eMapDirection"); AgentMeta.Register <GameActor>("GameActor"); AgentMeta.Register <GameLevelCommon>("GameLevelCommon"); AgentMeta.Register <Player>("Player"); AgentMeta.Register <System.Object>("System.Object"); AgentMeta.Register <UnityEngine.Color>("UnityEngine.Color"); AgentMeta.Register <UnityEngine.Transform>("UnityEngine.Transform"); AgentMeta.Register <UnityEngine.Vector3>("UnityEngine.Vector3"); }