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); }
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 = 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 = 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 = 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 = 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 = 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); }
static partial void registerMeta() { AgentMeta.TotalSignature = 3984568600; 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()); // GameActor meta = new AgentMeta(3139687483); _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(1659128607); _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(1328895285); _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.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 <GameActor>("GameActor"); AgentMeta.Register <GameLevelCommon>("GameLevelCommon"); AgentMeta.Register <Player>("Player"); AgentMeta.Register <behaviac.EBTStatus>("behaviac.EBTStatus"); ComparerRegister.RegisterType <behaviac.EBTStatus, CompareValue_behaviac_EBTStatus>(); AgentMeta.Register <eGameForce>("eGameForce"); ComparerRegister.RegisterType <eGameForce, CompareValue_eGameForce>(); AgentMeta.Register <eMapDirection>("eMapDirection"); ComparerRegister.RegisterType <eMapDirection, CompareValue_eMapDirection>(); AgentMeta.Register <eBrickType>("eBrickType"); ComparerRegister.RegisterType <eBrickType, CompareValue_eBrickType>(); AgentMeta.Register <UnityEngine.Vector3>("UnityEngine.Vector3"); ComparerRegister.RegisterType <UnityEngine.Vector3, CompareValue_UnityEngine_Vector3>(); AgentMeta.Register <UnityEngine.Color>("UnityEngine.Color"); ComparerRegister.RegisterType <UnityEngine.Color, CompareValue_UnityEngine_Color>(); AgentMeta.Register <UnityEngine.Transform>("UnityEngine.Transform"); ComparerRegister.RegisterType <UnityEngine.Transform, CompareValue_UnityEngine_Transform>(); Agent.RegisterInstanceName <GameLevelCommon>("GameLevel"); }
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); }