1
This commit is contained in:
parent
e35c16938c
commit
c1651a92dc
@ -10,6 +10,12 @@
|
|||||||
// Agent property and method handlers
|
// Agent property and method handlers
|
||||||
|
|
||||||
|
|
||||||
|
struct METHOD_TYPE_BaseAgent_AbortCoroutine { };
|
||||||
|
template<> inline void BaseAgent::_Execute_Method_<METHOD_TYPE_BaseAgent_AbortCoroutine>(CoId_e p0)
|
||||||
|
{
|
||||||
|
this->BaseAgent::AbortCoroutine(p0);
|
||||||
|
}
|
||||||
|
|
||||||
struct METHOD_TYPE_BaseAgent_CoTest { };
|
struct METHOD_TYPE_BaseAgent_CoTest { };
|
||||||
template<> inline behaviac::EBTStatus BaseAgent::_Execute_Method_<METHOD_TYPE_BaseAgent_CoTest>(int p0)
|
template<> inline behaviac::EBTStatus BaseAgent::_Execute_Method_<METHOD_TYPE_BaseAgent_CoTest>(int p0)
|
||||||
{
|
{
|
||||||
|
@ -633,7 +633,7 @@ namespace behaviac
|
|||||||
|
|
||||||
virtual bool load()
|
virtual bool load()
|
||||||
{
|
{
|
||||||
AgentMeta::SetTotalSignature(1095594251u);
|
AgentMeta::SetTotalSignature(4183950302u);
|
||||||
|
|
||||||
AgentMeta* meta = NULL;
|
AgentMeta* meta = NULL;
|
||||||
BEHAVIAC_UNUSED_VAR(meta);
|
BEHAVIAC_UNUSED_VAR(meta);
|
||||||
@ -656,10 +656,12 @@ namespace behaviac
|
|||||||
meta->RegisterMethod(502968959u, BEHAVIAC_NEW CMethod_behaviac_Agent_VectorRemove());
|
meta->RegisterMethod(502968959u, BEHAVIAC_NEW CMethod_behaviac_Agent_VectorRemove());
|
||||||
|
|
||||||
// BaseAgent
|
// BaseAgent
|
||||||
meta = BEHAVIAC_NEW AgentMeta(2894270053u);
|
meta = BEHAVIAC_NEW AgentMeta(3136667403u);
|
||||||
AgentMeta::GetAgentMetas()[2774251291u] = meta;
|
AgentMeta::GetAgentMetas()[2774251291u] = meta;
|
||||||
|
meta->RegisterMethod(1352812660u, BEHAVIAC_NEW CAgentMethodVoid_1<CoId_e>(FunctionPointer_BaseAgent_AbortCoroutine));
|
||||||
meta->RegisterMethod(3678294814u, BEHAVIAC_NEW CAgentMethod_1< behaviac::EBTStatus, int >(FunctionPointer_BaseAgent_CoTest));
|
meta->RegisterMethod(3678294814u, BEHAVIAC_NEW CAgentMethod_1< behaviac::EBTStatus, int >(FunctionPointer_BaseAgent_CoTest));
|
||||||
meta->RegisterMethod(4105647783u, BEHAVIAC_NEW CAgentMethod_1< behaviac::EBTStatus, int >(FunctionPointer_BaseAgent_CoTest1));
|
meta->RegisterMethod(4105647783u, BEHAVIAC_NEW CAgentMethod_1< behaviac::EBTStatus, int >(FunctionPointer_BaseAgent_CoTest1));
|
||||||
|
meta->RegisterMethod(1811924796u, BEHAVIAC_NEW CAgentMethod_1< int, int >(FunctionPointer_BaseAgent_DeltaTime));
|
||||||
meta->RegisterMethod(2541118574u, BEHAVIAC_NEW CAgentMethod< int >(FunctionPointer_BaseAgent_GetTickCount));
|
meta->RegisterMethod(2541118574u, BEHAVIAC_NEW CAgentMethod< int >(FunctionPointer_BaseAgent_GetTickCount));
|
||||||
meta->RegisterMethod(400482748u, BEHAVIAC_NEW CAgentMethod< bool >(FunctionPointer_BaseAgent_IsGameOver));
|
meta->RegisterMethod(400482748u, BEHAVIAC_NEW CAgentMethod< bool >(FunctionPointer_BaseAgent_IsGameOver));
|
||||||
meta->RegisterMethod(1045109914u, BEHAVIAC_NEW CAgentStaticMethodVoid_1<char*>(FunctionPointer_BaseAgent_LogMessage));
|
meta->RegisterMethod(1045109914u, BEHAVIAC_NEW CAgentStaticMethodVoid_1<char*>(FunctionPointer_BaseAgent_LogMessage));
|
||||||
@ -674,10 +676,12 @@ namespace behaviac
|
|||||||
meta->RegisterMethod(502968959u, BEHAVIAC_NEW CMethod_behaviac_Agent_VectorRemove());
|
meta->RegisterMethod(502968959u, BEHAVIAC_NEW CMethod_behaviac_Agent_VectorRemove());
|
||||||
|
|
||||||
// RoomAgent
|
// RoomAgent
|
||||||
meta = BEHAVIAC_NEW AgentMeta(1522634945u);
|
meta = BEHAVIAC_NEW AgentMeta(58746172u);
|
||||||
AgentMeta::GetAgentMetas()[1389135714u] = meta;
|
AgentMeta::GetAgentMetas()[1389135714u] = meta;
|
||||||
|
meta->RegisterMethod(1352812660u, BEHAVIAC_NEW CAgentMethodVoid_1<CoId_e>(FunctionPointer_RoomAgent_AbortCoroutine));
|
||||||
meta->RegisterMethod(3678294814u, BEHAVIAC_NEW CAgentMethod_1< behaviac::EBTStatus, int >(FunctionPointer_RoomAgent_CoTest));
|
meta->RegisterMethod(3678294814u, BEHAVIAC_NEW CAgentMethod_1< behaviac::EBTStatus, int >(FunctionPointer_RoomAgent_CoTest));
|
||||||
meta->RegisterMethod(4105647783u, BEHAVIAC_NEW CAgentMethod_1< behaviac::EBTStatus, int >(FunctionPointer_RoomAgent_CoTest1));
|
meta->RegisterMethod(4105647783u, BEHAVIAC_NEW CAgentMethod_1< behaviac::EBTStatus, int >(FunctionPointer_RoomAgent_CoTest1));
|
||||||
|
meta->RegisterMethod(1811924796u, BEHAVIAC_NEW CAgentMethod_1< int, int >(FunctionPointer_RoomAgent_DeltaTime));
|
||||||
meta->RegisterMethod(3968206693u, BEHAVIAC_NEW CAgentMethod_1< HeroAgent*, int >(FunctionPointer_RoomAgent_FindHero));
|
meta->RegisterMethod(3968206693u, BEHAVIAC_NEW CAgentMethod_1< HeroAgent*, int >(FunctionPointer_RoomAgent_FindHero));
|
||||||
meta->RegisterMethod(847579834u, BEHAVIAC_NEW CAgentMethod< int >(FunctionPointer_RoomAgent_GetAliveHumanNum));
|
meta->RegisterMethod(847579834u, BEHAVIAC_NEW CAgentMethod< int >(FunctionPointer_RoomAgent_GetAliveHumanNum));
|
||||||
meta->RegisterMethod(3609862701u, BEHAVIAC_NEW CAgentMethod< int >(FunctionPointer_RoomAgent_GetAlivePlayerNum));
|
meta->RegisterMethod(3609862701u, BEHAVIAC_NEW CAgentMethod< int >(FunctionPointer_RoomAgent_GetAlivePlayerNum));
|
||||||
@ -714,12 +718,14 @@ namespace behaviac
|
|||||||
meta->RegisterMethod(502968959u, BEHAVIAC_NEW CMethod_behaviac_Agent_VectorRemove());
|
meta->RegisterMethod(502968959u, BEHAVIAC_NEW CMethod_behaviac_Agent_VectorRemove());
|
||||||
|
|
||||||
// TargetAgent
|
// TargetAgent
|
||||||
meta = BEHAVIAC_NEW AgentMeta(4266546950u);
|
meta = BEHAVIAC_NEW AgentMeta(1972716360u);
|
||||||
AgentMeta::GetAgentMetas()[498664641u] = meta;
|
AgentMeta::GetAgentMetas()[498664641u] = meta;
|
||||||
meta->RegisterMethod(347903289u, BEHAVIAC_NEW CAgentMethodVoid_2<int, int>(FunctionPointer_TargetAgent_Abandon));
|
meta->RegisterMethod(347903289u, BEHAVIAC_NEW CAgentMethodVoid_2<int, int>(FunctionPointer_TargetAgent_Abandon));
|
||||||
|
meta->RegisterMethod(1352812660u, BEHAVIAC_NEW CAgentMethodVoid_1<CoId_e>(FunctionPointer_TargetAgent_AbortCoroutine));
|
||||||
meta->RegisterMethod(97826769u, BEHAVIAC_NEW CAgentMethodVoid(FunctionPointer_TargetAgent_ClearAbandon));
|
meta->RegisterMethod(97826769u, BEHAVIAC_NEW CAgentMethodVoid(FunctionPointer_TargetAgent_ClearAbandon));
|
||||||
meta->RegisterMethod(3678294814u, BEHAVIAC_NEW CAgentMethod_1< behaviac::EBTStatus, int >(FunctionPointer_TargetAgent_CoTest));
|
meta->RegisterMethod(3678294814u, BEHAVIAC_NEW CAgentMethod_1< behaviac::EBTStatus, int >(FunctionPointer_TargetAgent_CoTest));
|
||||||
meta->RegisterMethod(4105647783u, BEHAVIAC_NEW CAgentMethod_1< behaviac::EBTStatus, int >(FunctionPointer_TargetAgent_CoTest1));
|
meta->RegisterMethod(4105647783u, BEHAVIAC_NEW CAgentMethod_1< behaviac::EBTStatus, int >(FunctionPointer_TargetAgent_CoTest1));
|
||||||
|
meta->RegisterMethod(1811924796u, BEHAVIAC_NEW CAgentMethod_1< int, int >(FunctionPointer_TargetAgent_DeltaTime));
|
||||||
meta->RegisterMethod(2524021140u, BEHAVIAC_NEW CAgentMethod< int >(FunctionPointer_TargetAgent_GetHeroId));
|
meta->RegisterMethod(2524021140u, BEHAVIAC_NEW CAgentMethod< int >(FunctionPointer_TargetAgent_GetHeroId));
|
||||||
meta->RegisterMethod(3358849663u, BEHAVIAC_NEW CAgentMethod< float >(FunctionPointer_TargetAgent_GetHp));
|
meta->RegisterMethod(3358849663u, BEHAVIAC_NEW CAgentMethod< float >(FunctionPointer_TargetAgent_GetHp));
|
||||||
meta->RegisterMethod(3597666367u, BEHAVIAC_NEW CAgentMethod< float >(FunctionPointer_TargetAgent_GetHPRate));
|
meta->RegisterMethod(3597666367u, BEHAVIAC_NEW CAgentMethod< float >(FunctionPointer_TargetAgent_GetHPRate));
|
||||||
@ -743,7 +749,7 @@ namespace behaviac
|
|||||||
meta->RegisterMethod(502968959u, BEHAVIAC_NEW CMethod_behaviac_Agent_VectorRemove());
|
meta->RegisterMethod(502968959u, BEHAVIAC_NEW CMethod_behaviac_Agent_VectorRemove());
|
||||||
|
|
||||||
// HeroAgent
|
// HeroAgent
|
||||||
meta = BEHAVIAC_NEW AgentMeta(1099894105u);
|
meta = BEHAVIAC_NEW AgentMeta(4036110465u);
|
||||||
AgentMeta::GetAgentMetas()[2270112014u] = meta;
|
AgentMeta::GetAgentMetas()[2270112014u] = meta;
|
||||||
meta->RegisterMemberProperty(2706111800u, BEHAVIAC_NEW CMemberProperty< TargetAgent* >("current_target_agent", Set_HeroAgent_current_target_agent, Get_HeroAgent_current_target_agent));
|
meta->RegisterMemberProperty(2706111800u, BEHAVIAC_NEW CMemberProperty< TargetAgent* >("current_target_agent", Set_HeroAgent_current_target_agent, Get_HeroAgent_current_target_agent));
|
||||||
meta->RegisterMemberProperty(1530109714u, BEHAVIAC_NEW CMemberProperty< MasterAgent* >("master_agent", Set_HeroAgent_master_agent, Get_HeroAgent_master_agent));
|
meta->RegisterMemberProperty(1530109714u, BEHAVIAC_NEW CMemberProperty< MasterAgent* >("master_agent", Set_HeroAgent_master_agent, Get_HeroAgent_master_agent));
|
||||||
@ -772,6 +778,7 @@ namespace behaviac
|
|||||||
meta->RegisterMemberProperty(2693987492u, BEHAVIAC_NEW CMemberProperty< float >("tmp_val3", Set_HeroAgent_tmp_val3, Get_HeroAgent_tmp_val3));
|
meta->RegisterMemberProperty(2693987492u, BEHAVIAC_NEW CMemberProperty< float >("tmp_val3", Set_HeroAgent_tmp_val3, Get_HeroAgent_tmp_val3));
|
||||||
meta->RegisterMemberProperty(4023609955u, BEHAVIAC_NEW CMemberProperty< float >("tmp_val4", Set_HeroAgent_tmp_val4, Get_HeroAgent_tmp_val4));
|
meta->RegisterMemberProperty(4023609955u, BEHAVIAC_NEW CMemberProperty< float >("tmp_val4", Set_HeroAgent_tmp_val4, Get_HeroAgent_tmp_val4));
|
||||||
meta->RegisterMethod(1724035246u, BEHAVIAC_NEW CAgentMethodVoid_2<behaviac::string, behaviac::vector<int>>(FunctionPointer_HeroAgent_Abort));
|
meta->RegisterMethod(1724035246u, BEHAVIAC_NEW CAgentMethodVoid_2<behaviac::string, behaviac::vector<int>>(FunctionPointer_HeroAgent_Abort));
|
||||||
|
meta->RegisterMethod(1352812660u, BEHAVIAC_NEW CAgentMethodVoid_1<CoId_e>(FunctionPointer_HeroAgent_AbortCoroutine));
|
||||||
meta->RegisterMethod(3724946699u, BEHAVIAC_NEW CAgentMethodVoid_1<glm::vec3&>(FunctionPointer_HeroAgent_BattleMove) /* BattleMove */);
|
meta->RegisterMethod(3724946699u, BEHAVIAC_NEW CAgentMethodVoid_1<glm::vec3&>(FunctionPointer_HeroAgent_BattleMove) /* BattleMove */);
|
||||||
meta->RegisterMethod(113953652u, BEHAVIAC_NEW CMethod_HeroAgent_CalcDistance());
|
meta->RegisterMethod(113953652u, BEHAVIAC_NEW CMethod_HeroAgent_CalcDistance());
|
||||||
meta->RegisterMethod(896336728u, BEHAVIAC_NEW CAgentMethod< bool >(FunctionPointer_HeroAgent_CanShot));
|
meta->RegisterMethod(896336728u, BEHAVIAC_NEW CAgentMethod< bool >(FunctionPointer_HeroAgent_CanShot));
|
||||||
@ -795,6 +802,7 @@ namespace behaviac
|
|||||||
meta->RegisterMethod(1915544693u, BEHAVIAC_NEW CAgentMethod_1< behaviac::EBTStatus, int >(FunctionPointer_HeroAgent_CoUseSkill));
|
meta->RegisterMethod(1915544693u, BEHAVIAC_NEW CAgentMethod_1< behaviac::EBTStatus, int >(FunctionPointer_HeroAgent_CoUseSkill));
|
||||||
meta->RegisterMethod(3130174326u, BEHAVIAC_NEW CAgentMethod_4< behaviac::EBTStatus, behaviac::string, int, int, int >(FunctionPointer_HeroAgent_DebugOut));
|
meta->RegisterMethod(3130174326u, BEHAVIAC_NEW CAgentMethod_4< behaviac::EBTStatus, behaviac::string, int, int, int >(FunctionPointer_HeroAgent_DebugOut));
|
||||||
meta->RegisterMethod(961264360u, BEHAVIAC_NEW CAgentMethodVoid_2<int, int>(FunctionPointer_HeroAgent_DecV));
|
meta->RegisterMethod(961264360u, BEHAVIAC_NEW CAgentMethodVoid_2<int, int>(FunctionPointer_HeroAgent_DecV));
|
||||||
|
meta->RegisterMethod(1811924796u, BEHAVIAC_NEW CAgentMethod_1< int, int >(FunctionPointer_HeroAgent_DeltaTime));
|
||||||
meta->RegisterMethod(3850832265u, BEHAVIAC_NEW CAgentMethodVoid_2<glm::vec3&, float>(FunctionPointer_HeroAgent_FollowMaster) /* FollowMaster */);
|
meta->RegisterMethod(3850832265u, BEHAVIAC_NEW CAgentMethodVoid_2<glm::vec3&, float>(FunctionPointer_HeroAgent_FollowMaster) /* FollowMaster */);
|
||||||
meta->RegisterMethod(3395125024u, BEHAVIAC_NEW CAgentMethod< int >(FunctionPointer_HeroAgent_GetAgentType));
|
meta->RegisterMethod(3395125024u, BEHAVIAC_NEW CAgentMethod< int >(FunctionPointer_HeroAgent_GetAgentType));
|
||||||
meta->RegisterMethod(1962280222u, BEHAVIAC_NEW CAgentMethod< int >(FunctionPointer_HeroAgent_GetAliveEnemyNum));
|
meta->RegisterMethod(1962280222u, BEHAVIAC_NEW CAgentMethod< int >(FunctionPointer_HeroAgent_GetAliveEnemyNum));
|
||||||
@ -887,7 +895,7 @@ namespace behaviac
|
|||||||
meta->RegisterMethod(502968959u, BEHAVIAC_NEW CMethod_behaviac_Agent_VectorRemove());
|
meta->RegisterMethod(502968959u, BEHAVIAC_NEW CMethod_behaviac_Agent_VectorRemove());
|
||||||
|
|
||||||
// AndroidAgent
|
// AndroidAgent
|
||||||
meta = BEHAVIAC_NEW AgentMeta(858811612u);
|
meta = BEHAVIAC_NEW AgentMeta(1935904622u);
|
||||||
AgentMeta::GetAgentMetas()[2475098143u] = meta;
|
AgentMeta::GetAgentMetas()[2475098143u] = meta;
|
||||||
meta->RegisterMemberProperty(2706111800u, BEHAVIAC_NEW CMemberProperty< TargetAgent* >("current_target_agent", Set_HeroAgent_current_target_agent, Get_HeroAgent_current_target_agent));
|
meta->RegisterMemberProperty(2706111800u, BEHAVIAC_NEW CMemberProperty< TargetAgent* >("current_target_agent", Set_HeroAgent_current_target_agent, Get_HeroAgent_current_target_agent));
|
||||||
meta->RegisterMemberProperty(1530109714u, BEHAVIAC_NEW CMemberProperty< MasterAgent* >("master_agent", Set_HeroAgent_master_agent, Get_HeroAgent_master_agent));
|
meta->RegisterMemberProperty(1530109714u, BEHAVIAC_NEW CMemberProperty< MasterAgent* >("master_agent", Set_HeroAgent_master_agent, Get_HeroAgent_master_agent));
|
||||||
@ -916,6 +924,7 @@ namespace behaviac
|
|||||||
meta->RegisterMemberProperty(2693987492u, BEHAVIAC_NEW CMemberProperty< float >("tmp_val3", Set_HeroAgent_tmp_val3, Get_HeroAgent_tmp_val3));
|
meta->RegisterMemberProperty(2693987492u, BEHAVIAC_NEW CMemberProperty< float >("tmp_val3", Set_HeroAgent_tmp_val3, Get_HeroAgent_tmp_val3));
|
||||||
meta->RegisterMemberProperty(4023609955u, BEHAVIAC_NEW CMemberProperty< float >("tmp_val4", Set_HeroAgent_tmp_val4, Get_HeroAgent_tmp_val4));
|
meta->RegisterMemberProperty(4023609955u, BEHAVIAC_NEW CMemberProperty< float >("tmp_val4", Set_HeroAgent_tmp_val4, Get_HeroAgent_tmp_val4));
|
||||||
meta->RegisterMethod(1724035246u, BEHAVIAC_NEW CAgentMethodVoid_2<behaviac::string, behaviac::vector<int>>(FunctionPointer_AndroidAgent_Abort));
|
meta->RegisterMethod(1724035246u, BEHAVIAC_NEW CAgentMethodVoid_2<behaviac::string, behaviac::vector<int>>(FunctionPointer_AndroidAgent_Abort));
|
||||||
|
meta->RegisterMethod(1352812660u, BEHAVIAC_NEW CAgentMethodVoid_1<CoId_e>(FunctionPointer_AndroidAgent_AbortCoroutine));
|
||||||
meta->RegisterMethod(3724946699u, BEHAVIAC_NEW CAgentMethodVoid_1<glm::vec3&>(FunctionPointer_AndroidAgent_BattleMove) /* BattleMove */);
|
meta->RegisterMethod(3724946699u, BEHAVIAC_NEW CAgentMethodVoid_1<glm::vec3&>(FunctionPointer_AndroidAgent_BattleMove) /* BattleMove */);
|
||||||
meta->RegisterMethod(113953652u, BEHAVIAC_NEW CMethod_HeroAgent_CalcDistance());
|
meta->RegisterMethod(113953652u, BEHAVIAC_NEW CMethod_HeroAgent_CalcDistance());
|
||||||
meta->RegisterMethod(896336728u, BEHAVIAC_NEW CAgentMethod< bool >(FunctionPointer_AndroidAgent_CanShot));
|
meta->RegisterMethod(896336728u, BEHAVIAC_NEW CAgentMethod< bool >(FunctionPointer_AndroidAgent_CanShot));
|
||||||
@ -939,6 +948,7 @@ namespace behaviac
|
|||||||
meta->RegisterMethod(1915544693u, BEHAVIAC_NEW CAgentMethod_1< behaviac::EBTStatus, int >(FunctionPointer_AndroidAgent_CoUseSkill));
|
meta->RegisterMethod(1915544693u, BEHAVIAC_NEW CAgentMethod_1< behaviac::EBTStatus, int >(FunctionPointer_AndroidAgent_CoUseSkill));
|
||||||
meta->RegisterMethod(3130174326u, BEHAVIAC_NEW CAgentMethod_4< behaviac::EBTStatus, behaviac::string, int, int, int >(FunctionPointer_AndroidAgent_DebugOut));
|
meta->RegisterMethod(3130174326u, BEHAVIAC_NEW CAgentMethod_4< behaviac::EBTStatus, behaviac::string, int, int, int >(FunctionPointer_AndroidAgent_DebugOut));
|
||||||
meta->RegisterMethod(961264360u, BEHAVIAC_NEW CAgentMethodVoid_2<int, int>(FunctionPointer_AndroidAgent_DecV));
|
meta->RegisterMethod(961264360u, BEHAVIAC_NEW CAgentMethodVoid_2<int, int>(FunctionPointer_AndroidAgent_DecV));
|
||||||
|
meta->RegisterMethod(1811924796u, BEHAVIAC_NEW CAgentMethod_1< int, int >(FunctionPointer_AndroidAgent_DeltaTime));
|
||||||
meta->RegisterMethod(3850832265u, BEHAVIAC_NEW CAgentMethodVoid_2<glm::vec3&, float>(FunctionPointer_AndroidAgent_FollowMaster) /* FollowMaster */);
|
meta->RegisterMethod(3850832265u, BEHAVIAC_NEW CAgentMethodVoid_2<glm::vec3&, float>(FunctionPointer_AndroidAgent_FollowMaster) /* FollowMaster */);
|
||||||
meta->RegisterMethod(397371422u, BEHAVIAC_NEW CAgentMethod< behaviac::string >(FunctionPointer_AndroidAgent_GetAccountId));
|
meta->RegisterMethod(397371422u, BEHAVIAC_NEW CAgentMethod< behaviac::string >(FunctionPointer_AndroidAgent_GetAccountId));
|
||||||
meta->RegisterMethod(3395125024u, BEHAVIAC_NEW CAgentMethod< int >(FunctionPointer_AndroidAgent_GetAgentType));
|
meta->RegisterMethod(3395125024u, BEHAVIAC_NEW CAgentMethod< int >(FunctionPointer_AndroidAgent_GetAgentType));
|
||||||
@ -1032,10 +1042,12 @@ namespace behaviac
|
|||||||
meta->RegisterMethod(502968959u, BEHAVIAC_NEW CMethod_behaviac_Agent_VectorRemove());
|
meta->RegisterMethod(502968959u, BEHAVIAC_NEW CMethod_behaviac_Agent_VectorRemove());
|
||||||
|
|
||||||
// MasterAgent
|
// MasterAgent
|
||||||
meta = BEHAVIAC_NEW AgentMeta(726162439u);
|
meta = BEHAVIAC_NEW AgentMeta(548168515u);
|
||||||
AgentMeta::GetAgentMetas()[2505569052u] = meta;
|
AgentMeta::GetAgentMetas()[2505569052u] = meta;
|
||||||
|
meta->RegisterMethod(1352812660u, BEHAVIAC_NEW CAgentMethodVoid_1<CoId_e>(FunctionPointer_MasterAgent_AbortCoroutine));
|
||||||
meta->RegisterMethod(3678294814u, BEHAVIAC_NEW CAgentMethod_1< behaviac::EBTStatus, int >(FunctionPointer_MasterAgent_CoTest));
|
meta->RegisterMethod(3678294814u, BEHAVIAC_NEW CAgentMethod_1< behaviac::EBTStatus, int >(FunctionPointer_MasterAgent_CoTest));
|
||||||
meta->RegisterMethod(4105647783u, BEHAVIAC_NEW CAgentMethod_1< behaviac::EBTStatus, int >(FunctionPointer_MasterAgent_CoTest1));
|
meta->RegisterMethod(4105647783u, BEHAVIAC_NEW CAgentMethod_1< behaviac::EBTStatus, int >(FunctionPointer_MasterAgent_CoTest1));
|
||||||
|
meta->RegisterMethod(1811924796u, BEHAVIAC_NEW CAgentMethod_1< int, int >(FunctionPointer_MasterAgent_DeltaTime));
|
||||||
meta->RegisterMethod(2524021140u, BEHAVIAC_NEW CAgentMethod< int >(FunctionPointer_MasterAgent_GetHeroId));
|
meta->RegisterMethod(2524021140u, BEHAVIAC_NEW CAgentMethod< int >(FunctionPointer_MasterAgent_GetHeroId));
|
||||||
meta->RegisterMethod(1572331229u, BEHAVIAC_NEW CAgentMethod< float >(FunctionPointer_MasterAgent_GetHP));
|
meta->RegisterMethod(1572331229u, BEHAVIAC_NEW CAgentMethod< float >(FunctionPointer_MasterAgent_GetHP));
|
||||||
meta->RegisterMethod(3451565888u, BEHAVIAC_NEW CAgentMethod< int >(FunctionPointer_MasterAgent_GetLevel));
|
meta->RegisterMethod(3451565888u, BEHAVIAC_NEW CAgentMethod< int >(FunctionPointer_MasterAgent_GetLevel));
|
||||||
@ -1069,6 +1081,7 @@ namespace behaviac
|
|||||||
AgentMeta::Register<BuffEffectType_e>("BuffEffectType_e");
|
AgentMeta::Register<BuffEffectType_e>("BuffEffectType_e");
|
||||||
AgentMeta::Register<BtEvent_e>("BtEvent_e");
|
AgentMeta::Register<BtEvent_e>("BtEvent_e");
|
||||||
AgentMeta::Register<GasMode_e>("GasMode_e");
|
AgentMeta::Register<GasMode_e>("GasMode_e");
|
||||||
|
AgentMeta::Register<CoId_e>("CoId_e");
|
||||||
AgentMeta::Register<glm::vec3>("glm::vec3");
|
AgentMeta::Register<glm::vec3>("glm::vec3");
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
@ -1088,6 +1101,7 @@ namespace behaviac
|
|||||||
AgentMeta::UnRegister<BuffEffectType_e>("BuffEffectType_e");
|
AgentMeta::UnRegister<BuffEffectType_e>("BuffEffectType_e");
|
||||||
AgentMeta::UnRegister<BtEvent_e>("BtEvent_e");
|
AgentMeta::UnRegister<BtEvent_e>("BtEvent_e");
|
||||||
AgentMeta::UnRegister<GasMode_e>("GasMode_e");
|
AgentMeta::UnRegister<GasMode_e>("GasMode_e");
|
||||||
|
AgentMeta::UnRegister<CoId_e>("CoId_e");
|
||||||
AgentMeta::UnRegister<glm::vec3>("glm::vec3");
|
AgentMeta::UnRegister<glm::vec3>("glm::vec3");
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
@ -16,8 +16,10 @@ namespace behaviac
|
|||||||
// ---------------------------------------------------------------------
|
// ---------------------------------------------------------------------
|
||||||
|
|
||||||
inline void FunctionPointer_behaviac_Agent_LogMessage(char* param0) { behaviac::Agent::LogMessage(param0); }
|
inline void FunctionPointer_behaviac_Agent_LogMessage(char* param0) { behaviac::Agent::LogMessage(param0); }
|
||||||
|
inline void FunctionPointer_BaseAgent_AbortCoroutine(Agent* self, CoId_e co_id) { ((BaseAgent*)self)->_Execute_Method_<METHOD_TYPE_BaseAgent_AbortCoroutine, void, CoId_e >(co_id); }
|
||||||
inline behaviac::EBTStatus FunctionPointer_BaseAgent_CoTest(Agent* self, int time) { return (behaviac::EBTStatus)((BaseAgent*)self)->_Execute_Method_<METHOD_TYPE_BaseAgent_CoTest, behaviac::EBTStatus, int >(time); }
|
inline behaviac::EBTStatus FunctionPointer_BaseAgent_CoTest(Agent* self, int time) { return (behaviac::EBTStatus)((BaseAgent*)self)->_Execute_Method_<METHOD_TYPE_BaseAgent_CoTest, behaviac::EBTStatus, int >(time); }
|
||||||
inline behaviac::EBTStatus FunctionPointer_BaseAgent_CoTest1(Agent* self, int time) { return (behaviac::EBTStatus)((BaseAgent*)self)->_Execute_Method_<METHOD_TYPE_BaseAgent_CoTest1, behaviac::EBTStatus, int >(time); }
|
inline behaviac::EBTStatus FunctionPointer_BaseAgent_CoTest1(Agent* self, int time) { return (behaviac::EBTStatus)((BaseAgent*)self)->_Execute_Method_<METHOD_TYPE_BaseAgent_CoTest1, behaviac::EBTStatus, int >(time); }
|
||||||
|
inline int FunctionPointer_BaseAgent_DeltaTime(Agent* self, int time) { return ((BaseAgent*)self)->DeltaTime(time); }
|
||||||
inline int FunctionPointer_BaseAgent_GetTickCount(Agent* self) { return ((BaseAgent*)self)->GetTickCount(); }
|
inline int FunctionPointer_BaseAgent_GetTickCount(Agent* self) { return ((BaseAgent*)self)->GetTickCount(); }
|
||||||
inline bool FunctionPointer_BaseAgent_IsGameOver(Agent* self) { return ((BaseAgent*)self)->IsGameOver(); }
|
inline bool FunctionPointer_BaseAgent_IsGameOver(Agent* self) { return ((BaseAgent*)self)->IsGameOver(); }
|
||||||
inline void FunctionPointer_BaseAgent_LogMessage(char* param0) { BaseAgent::LogMessage(param0); }
|
inline void FunctionPointer_BaseAgent_LogMessage(char* param0) { BaseAgent::LogMessage(param0); }
|
||||||
@ -25,8 +27,10 @@ namespace behaviac
|
|||||||
inline int FunctionPointer_BaseAgent_RandRange(Agent* self, int min_val, int max_val) { return (int)((BaseAgent*)self)->_Execute_Method_<METHOD_TYPE_BaseAgent_RandRange, int, int, int >(min_val, max_val); }
|
inline int FunctionPointer_BaseAgent_RandRange(Agent* self, int min_val, int max_val) { return (int)((BaseAgent*)self)->_Execute_Method_<METHOD_TYPE_BaseAgent_RandRange, int, int, int >(min_val, max_val); }
|
||||||
inline float FunctionPointer_BaseAgent_RandRangeAsFloat(Agent* self, float min_val, float max_val) { return ((BaseAgent*)self)->RandRangeAsFloat(min_val, max_val); }
|
inline float FunctionPointer_BaseAgent_RandRangeAsFloat(Agent* self, float min_val, float max_val) { return ((BaseAgent*)self)->RandRangeAsFloat(min_val, max_val); }
|
||||||
inline int FunctionPointer_BaseAgent_Test(Agent* self, int p1) { return (int)((BaseAgent*)self)->_Execute_Method_<METHOD_TYPE_BaseAgent_Test, int, int >(p1); }
|
inline int FunctionPointer_BaseAgent_Test(Agent* self, int p1) { return (int)((BaseAgent*)self)->_Execute_Method_<METHOD_TYPE_BaseAgent_Test, int, int >(p1); }
|
||||||
|
inline void FunctionPointer_RoomAgent_AbortCoroutine(Agent* self, CoId_e co_id) { ((BaseAgent*)self)->_Execute_Method_<METHOD_TYPE_BaseAgent_AbortCoroutine, void, CoId_e >(co_id); }
|
||||||
inline behaviac::EBTStatus FunctionPointer_RoomAgent_CoTest(Agent* self, int time) { return (behaviac::EBTStatus)((BaseAgent*)self)->_Execute_Method_<METHOD_TYPE_BaseAgent_CoTest, behaviac::EBTStatus, int >(time); }
|
inline behaviac::EBTStatus FunctionPointer_RoomAgent_CoTest(Agent* self, int time) { return (behaviac::EBTStatus)((BaseAgent*)self)->_Execute_Method_<METHOD_TYPE_BaseAgent_CoTest, behaviac::EBTStatus, int >(time); }
|
||||||
inline behaviac::EBTStatus FunctionPointer_RoomAgent_CoTest1(Agent* self, int time) { return (behaviac::EBTStatus)((BaseAgent*)self)->_Execute_Method_<METHOD_TYPE_BaseAgent_CoTest1, behaviac::EBTStatus, int >(time); }
|
inline behaviac::EBTStatus FunctionPointer_RoomAgent_CoTest1(Agent* self, int time) { return (behaviac::EBTStatus)((BaseAgent*)self)->_Execute_Method_<METHOD_TYPE_BaseAgent_CoTest1, behaviac::EBTStatus, int >(time); }
|
||||||
|
inline int FunctionPointer_RoomAgent_DeltaTime(Agent* self, int time) { return ((RoomAgent*)self)->DeltaTime(time); }
|
||||||
inline HeroAgent* FunctionPointer_RoomAgent_FindHero(Agent* self, int hero_uniid) { return ((RoomAgent*)self)->FindHero(hero_uniid); }
|
inline HeroAgent* FunctionPointer_RoomAgent_FindHero(Agent* self, int hero_uniid) { return ((RoomAgent*)self)->FindHero(hero_uniid); }
|
||||||
inline int FunctionPointer_RoomAgent_GetAliveHumanNum(Agent* self) { return ((RoomAgent*)self)->GetAliveHumanNum(); }
|
inline int FunctionPointer_RoomAgent_GetAliveHumanNum(Agent* self) { return ((RoomAgent*)self)->GetAliveHumanNum(); }
|
||||||
inline int FunctionPointer_RoomAgent_GetAlivePlayerNum(Agent* self) { return ((RoomAgent*)self)->GetAlivePlayerNum(); }
|
inline int FunctionPointer_RoomAgent_GetAlivePlayerNum(Agent* self) { return ((RoomAgent*)self)->GetAlivePlayerNum(); }
|
||||||
@ -48,9 +52,11 @@ namespace behaviac
|
|||||||
inline int FunctionPointer_TeamAgent_GetPlayerNum(Agent* self) { return ((TeamAgent*)self)->GetPlayerNum(); }
|
inline int FunctionPointer_TeamAgent_GetPlayerNum(Agent* self) { return ((TeamAgent*)self)->GetPlayerNum(); }
|
||||||
inline void FunctionPointer_TeamAgent_LogMessage(char* param0) { TeamAgent::LogMessage(param0); }
|
inline void FunctionPointer_TeamAgent_LogMessage(char* param0) { TeamAgent::LogMessage(param0); }
|
||||||
inline void FunctionPointer_TargetAgent_Abandon(Agent* self, int min_time, int max_time) { ((TargetAgent*)self)->Abandon(min_time, max_time); }
|
inline void FunctionPointer_TargetAgent_Abandon(Agent* self, int min_time, int max_time) { ((TargetAgent*)self)->Abandon(min_time, max_time); }
|
||||||
|
inline void FunctionPointer_TargetAgent_AbortCoroutine(Agent* self, CoId_e co_id) { ((BaseAgent*)self)->_Execute_Method_<METHOD_TYPE_BaseAgent_AbortCoroutine, void, CoId_e >(co_id); }
|
||||||
inline void FunctionPointer_TargetAgent_ClearAbandon(Agent* self) { ((TargetAgent*)self)->ClearAbandon(); }
|
inline void FunctionPointer_TargetAgent_ClearAbandon(Agent* self) { ((TargetAgent*)self)->ClearAbandon(); }
|
||||||
inline behaviac::EBTStatus FunctionPointer_TargetAgent_CoTest(Agent* self, int time) { return (behaviac::EBTStatus)((BaseAgent*)self)->_Execute_Method_<METHOD_TYPE_BaseAgent_CoTest, behaviac::EBTStatus, int >(time); }
|
inline behaviac::EBTStatus FunctionPointer_TargetAgent_CoTest(Agent* self, int time) { return (behaviac::EBTStatus)((BaseAgent*)self)->_Execute_Method_<METHOD_TYPE_BaseAgent_CoTest, behaviac::EBTStatus, int >(time); }
|
||||||
inline behaviac::EBTStatus FunctionPointer_TargetAgent_CoTest1(Agent* self, int time) { return (behaviac::EBTStatus)((BaseAgent*)self)->_Execute_Method_<METHOD_TYPE_BaseAgent_CoTest1, behaviac::EBTStatus, int >(time); }
|
inline behaviac::EBTStatus FunctionPointer_TargetAgent_CoTest1(Agent* self, int time) { return (behaviac::EBTStatus)((BaseAgent*)self)->_Execute_Method_<METHOD_TYPE_BaseAgent_CoTest1, behaviac::EBTStatus, int >(time); }
|
||||||
|
inline int FunctionPointer_TargetAgent_DeltaTime(Agent* self, int time) { return ((TargetAgent*)self)->DeltaTime(time); }
|
||||||
inline int FunctionPointer_TargetAgent_GetHeroId(Agent* self) { return ((TargetAgent*)self)->GetHeroId(); }
|
inline int FunctionPointer_TargetAgent_GetHeroId(Agent* self) { return ((TargetAgent*)self)->GetHeroId(); }
|
||||||
inline float FunctionPointer_TargetAgent_GetHp(Agent* self) { return ((TargetAgent*)self)->GetHp(); }
|
inline float FunctionPointer_TargetAgent_GetHp(Agent* self) { return ((TargetAgent*)self)->GetHp(); }
|
||||||
inline float FunctionPointer_TargetAgent_GetHPRate(Agent* self) { return ((TargetAgent*)self)->GetHPRate(); }
|
inline float FunctionPointer_TargetAgent_GetHPRate(Agent* self) { return ((TargetAgent*)self)->GetHPRate(); }
|
||||||
@ -147,6 +153,7 @@ namespace behaviac
|
|||||||
inline const void* Get_HeroAgent_tmp_val4(Agent* self) { return &((HeroAgent*)self)->tmp_val4; };
|
inline const void* Get_HeroAgent_tmp_val4(Agent* self) { return &((HeroAgent*)self)->tmp_val4; };
|
||||||
|
|
||||||
inline void FunctionPointer_HeroAgent_Abort(Agent* self, behaviac::string msg, behaviac::vector<int> args) { ((HeroAgent*)self)->_Execute_Method_<METHOD_TYPE_HeroAgent_Abort, void, behaviac::string, behaviac::vector<int> >(msg, args); }
|
inline void FunctionPointer_HeroAgent_Abort(Agent* self, behaviac::string msg, behaviac::vector<int> args) { ((HeroAgent*)self)->_Execute_Method_<METHOD_TYPE_HeroAgent_Abort, void, behaviac::string, behaviac::vector<int> >(msg, args); }
|
||||||
|
inline void FunctionPointer_HeroAgent_AbortCoroutine(Agent* self, CoId_e co_id) { ((BaseAgent*)self)->_Execute_Method_<METHOD_TYPE_BaseAgent_AbortCoroutine, void, CoId_e >(co_id); }
|
||||||
inline void FunctionPointer_HeroAgent_BattleMove(Agent* self, glm::vec3& loc_point0) { } /* BattleMove */
|
inline void FunctionPointer_HeroAgent_BattleMove(Agent* self, glm::vec3& loc_point0) { } /* BattleMove */
|
||||||
inline bool FunctionPointer_HeroAgent_CanShot(Agent* self) { return ((HeroAgent*)self)->CanShot(); }
|
inline bool FunctionPointer_HeroAgent_CanShot(Agent* self) { return ((HeroAgent*)self)->CanShot(); }
|
||||||
inline bool FunctionPointer_HeroAgent_CanUseSkill(Agent* self, int skill_id) { return ((HeroAgent*)self)->CanUseSkill(skill_id); }
|
inline bool FunctionPointer_HeroAgent_CanUseSkill(Agent* self, int skill_id) { return ((HeroAgent*)self)->CanUseSkill(skill_id); }
|
||||||
@ -167,6 +174,7 @@ namespace behaviac
|
|||||||
inline behaviac::EBTStatus FunctionPointer_HeroAgent_CoUseSkill(Agent* self, int skill_id) { return (behaviac::EBTStatus)((HeroAgent*)self)->_Execute_Method_<METHOD_TYPE_HeroAgent_CoUseSkill, behaviac::EBTStatus, int >(skill_id); }
|
inline behaviac::EBTStatus FunctionPointer_HeroAgent_CoUseSkill(Agent* self, int skill_id) { return (behaviac::EBTStatus)((HeroAgent*)self)->_Execute_Method_<METHOD_TYPE_HeroAgent_CoUseSkill, behaviac::EBTStatus, int >(skill_id); }
|
||||||
inline behaviac::EBTStatus FunctionPointer_HeroAgent_DebugOut(Agent* self, behaviac::string msg, int arg0, int arg1, int arg2) { return ((HeroAgent*)self)->DebugOut(msg, arg0, arg1, arg2); }
|
inline behaviac::EBTStatus FunctionPointer_HeroAgent_DebugOut(Agent* self, behaviac::string msg, int arg0, int arg1, int arg2) { return ((HeroAgent*)self)->DebugOut(msg, arg0, arg1, arg2); }
|
||||||
inline void FunctionPointer_HeroAgent_DecV(Agent* self, int id, int val) { ((HeroAgent*)self)->_Execute_Method_<METHOD_TYPE_HeroAgent_DecV, void, int, int >(id, val); }
|
inline void FunctionPointer_HeroAgent_DecV(Agent* self, int id, int val) { ((HeroAgent*)self)->_Execute_Method_<METHOD_TYPE_HeroAgent_DecV, void, int, int >(id, val); }
|
||||||
|
inline int FunctionPointer_HeroAgent_DeltaTime(Agent* self, int time) { return ((HeroAgent*)self)->DeltaTime(time); }
|
||||||
inline void FunctionPointer_HeroAgent_FollowMaster(Agent* self, glm::vec3& loc_point0, float loc_val0) { } /* FollowMaster */
|
inline void FunctionPointer_HeroAgent_FollowMaster(Agent* self, glm::vec3& loc_point0, float loc_val0) { } /* FollowMaster */
|
||||||
inline int FunctionPointer_HeroAgent_GetAgentType(Agent* self) { return ((HeroAgent*)self)->GetAgentType(); }
|
inline int FunctionPointer_HeroAgent_GetAgentType(Agent* self) { return ((HeroAgent*)self)->GetAgentType(); }
|
||||||
inline int FunctionPointer_HeroAgent_GetAliveEnemyNum(Agent* self) { return ((HeroAgent*)self)->GetAliveEnemyNum(); }
|
inline int FunctionPointer_HeroAgent_GetAliveEnemyNum(Agent* self) { return ((HeroAgent*)self)->GetAliveEnemyNum(); }
|
||||||
@ -249,6 +257,7 @@ namespace behaviac
|
|||||||
inline void FunctionPointer_HeroAgent_UseSkill30900(Agent* self, int loc_val0, int loc_val1, int loc_val2) { } /* UseSkill30900 */
|
inline void FunctionPointer_HeroAgent_UseSkill30900(Agent* self, int loc_val0, int loc_val1, int loc_val2) { } /* UseSkill30900 */
|
||||||
inline void FunctionPointer_HeroAgent_UseSkill31000(Agent* self, int loc_val0, int loc_val1, int loc_val2) { } /* UseSkill31000 */
|
inline void FunctionPointer_HeroAgent_UseSkill31000(Agent* self, int loc_val0, int loc_val1, int loc_val2) { } /* UseSkill31000 */
|
||||||
inline void FunctionPointer_AndroidAgent_Abort(Agent* self, behaviac::string msg, behaviac::vector<int> args) { ((HeroAgent*)self)->_Execute_Method_<METHOD_TYPE_HeroAgent_Abort, void, behaviac::string, behaviac::vector<int> >(msg, args); }
|
inline void FunctionPointer_AndroidAgent_Abort(Agent* self, behaviac::string msg, behaviac::vector<int> args) { ((HeroAgent*)self)->_Execute_Method_<METHOD_TYPE_HeroAgent_Abort, void, behaviac::string, behaviac::vector<int> >(msg, args); }
|
||||||
|
inline void FunctionPointer_AndroidAgent_AbortCoroutine(Agent* self, CoId_e co_id) { ((BaseAgent*)self)->_Execute_Method_<METHOD_TYPE_BaseAgent_AbortCoroutine, void, CoId_e >(co_id); }
|
||||||
inline void FunctionPointer_AndroidAgent_BattleMove(Agent* self, glm::vec3& loc_point0) { } /* BattleMove */
|
inline void FunctionPointer_AndroidAgent_BattleMove(Agent* self, glm::vec3& loc_point0) { } /* BattleMove */
|
||||||
inline bool FunctionPointer_AndroidAgent_CanShot(Agent* self) { return ((AndroidAgent*)self)->CanShot(); }
|
inline bool FunctionPointer_AndroidAgent_CanShot(Agent* self) { return ((AndroidAgent*)self)->CanShot(); }
|
||||||
inline bool FunctionPointer_AndroidAgent_CanUseSkill(Agent* self, int skill_id) { return ((AndroidAgent*)self)->CanUseSkill(skill_id); }
|
inline bool FunctionPointer_AndroidAgent_CanUseSkill(Agent* self, int skill_id) { return ((AndroidAgent*)self)->CanUseSkill(skill_id); }
|
||||||
@ -269,6 +278,7 @@ namespace behaviac
|
|||||||
inline behaviac::EBTStatus FunctionPointer_AndroidAgent_CoUseSkill(Agent* self, int skill_id) { return (behaviac::EBTStatus)((HeroAgent*)self)->_Execute_Method_<METHOD_TYPE_HeroAgent_CoUseSkill, behaviac::EBTStatus, int >(skill_id); }
|
inline behaviac::EBTStatus FunctionPointer_AndroidAgent_CoUseSkill(Agent* self, int skill_id) { return (behaviac::EBTStatus)((HeroAgent*)self)->_Execute_Method_<METHOD_TYPE_HeroAgent_CoUseSkill, behaviac::EBTStatus, int >(skill_id); }
|
||||||
inline behaviac::EBTStatus FunctionPointer_AndroidAgent_DebugOut(Agent* self, behaviac::string msg, int arg0, int arg1, int arg2) { return ((AndroidAgent*)self)->DebugOut(msg, arg0, arg1, arg2); }
|
inline behaviac::EBTStatus FunctionPointer_AndroidAgent_DebugOut(Agent* self, behaviac::string msg, int arg0, int arg1, int arg2) { return ((AndroidAgent*)self)->DebugOut(msg, arg0, arg1, arg2); }
|
||||||
inline void FunctionPointer_AndroidAgent_DecV(Agent* self, int id, int val) { ((HeroAgent*)self)->_Execute_Method_<METHOD_TYPE_HeroAgent_DecV, void, int, int >(id, val); }
|
inline void FunctionPointer_AndroidAgent_DecV(Agent* self, int id, int val) { ((HeroAgent*)self)->_Execute_Method_<METHOD_TYPE_HeroAgent_DecV, void, int, int >(id, val); }
|
||||||
|
inline int FunctionPointer_AndroidAgent_DeltaTime(Agent* self, int time) { return ((AndroidAgent*)self)->DeltaTime(time); }
|
||||||
inline void FunctionPointer_AndroidAgent_FollowMaster(Agent* self, glm::vec3& loc_point0, float loc_val0) { } /* FollowMaster */
|
inline void FunctionPointer_AndroidAgent_FollowMaster(Agent* self, glm::vec3& loc_point0, float loc_val0) { } /* FollowMaster */
|
||||||
inline behaviac::string FunctionPointer_AndroidAgent_GetAccountId(Agent* self) { return ((AndroidAgent*)self)->GetAccountId(); }
|
inline behaviac::string FunctionPointer_AndroidAgent_GetAccountId(Agent* self) { return ((AndroidAgent*)self)->GetAccountId(); }
|
||||||
inline int FunctionPointer_AndroidAgent_GetAgentType(Agent* self) { return ((AndroidAgent*)self)->GetAgentType(); }
|
inline int FunctionPointer_AndroidAgent_GetAgentType(Agent* self) { return ((AndroidAgent*)self)->GetAgentType(); }
|
||||||
@ -351,8 +361,10 @@ namespace behaviac
|
|||||||
inline void FunctionPointer_AndroidAgent_UseSkill30800(Agent* self, int loc_val0, int loc_val1, int loc_val2) { } /* UseSkill30800 */
|
inline void FunctionPointer_AndroidAgent_UseSkill30800(Agent* self, int loc_val0, int loc_val1, int loc_val2) { } /* UseSkill30800 */
|
||||||
inline void FunctionPointer_AndroidAgent_UseSkill30900(Agent* self, int loc_val0, int loc_val1, int loc_val2) { } /* UseSkill30900 */
|
inline void FunctionPointer_AndroidAgent_UseSkill30900(Agent* self, int loc_val0, int loc_val1, int loc_val2) { } /* UseSkill30900 */
|
||||||
inline void FunctionPointer_AndroidAgent_UseSkill31000(Agent* self, int loc_val0, int loc_val1, int loc_val2) { } /* UseSkill31000 */
|
inline void FunctionPointer_AndroidAgent_UseSkill31000(Agent* self, int loc_val0, int loc_val1, int loc_val2) { } /* UseSkill31000 */
|
||||||
|
inline void FunctionPointer_MasterAgent_AbortCoroutine(Agent* self, CoId_e co_id) { ((BaseAgent*)self)->_Execute_Method_<METHOD_TYPE_BaseAgent_AbortCoroutine, void, CoId_e >(co_id); }
|
||||||
inline behaviac::EBTStatus FunctionPointer_MasterAgent_CoTest(Agent* self, int time) { return (behaviac::EBTStatus)((BaseAgent*)self)->_Execute_Method_<METHOD_TYPE_BaseAgent_CoTest, behaviac::EBTStatus, int >(time); }
|
inline behaviac::EBTStatus FunctionPointer_MasterAgent_CoTest(Agent* self, int time) { return (behaviac::EBTStatus)((BaseAgent*)self)->_Execute_Method_<METHOD_TYPE_BaseAgent_CoTest, behaviac::EBTStatus, int >(time); }
|
||||||
inline behaviac::EBTStatus FunctionPointer_MasterAgent_CoTest1(Agent* self, int time) { return (behaviac::EBTStatus)((BaseAgent*)self)->_Execute_Method_<METHOD_TYPE_BaseAgent_CoTest1, behaviac::EBTStatus, int >(time); }
|
inline behaviac::EBTStatus FunctionPointer_MasterAgent_CoTest1(Agent* self, int time) { return (behaviac::EBTStatus)((BaseAgent*)self)->_Execute_Method_<METHOD_TYPE_BaseAgent_CoTest1, behaviac::EBTStatus, int >(time); }
|
||||||
|
inline int FunctionPointer_MasterAgent_DeltaTime(Agent* self, int time) { return ((MasterAgent*)self)->DeltaTime(time); }
|
||||||
inline int FunctionPointer_MasterAgent_GetHeroId(Agent* self) { return ((MasterAgent*)self)->GetHeroId(); }
|
inline int FunctionPointer_MasterAgent_GetHeroId(Agent* self) { return ((MasterAgent*)self)->GetHeroId(); }
|
||||||
inline float FunctionPointer_MasterAgent_GetHP(Agent* self) { return ((MasterAgent*)self)->GetHP(); }
|
inline float FunctionPointer_MasterAgent_GetHP(Agent* self) { return ((MasterAgent*)self)->GetHP(); }
|
||||||
inline int FunctionPointer_MasterAgent_GetLevel(Agent* self) { return ((MasterAgent*)self)->GetLevel(); }
|
inline int FunctionPointer_MasterAgent_GetLevel(Agent* self) { return ((MasterAgent*)self)->GetLevel(); }
|
||||||
|
@ -57,3 +57,12 @@ BEHAVIAC_BEGIN_ENUM_EX(GasMode_e, GasMode_e)
|
|||||||
}
|
}
|
||||||
BEHAVIAC_END_ENUM_EX()
|
BEHAVIAC_END_ENUM_EX()
|
||||||
|
|
||||||
|
BEHAVIAC_BEGIN_ENUM_EX(CoId_e, CoId_e)
|
||||||
|
{
|
||||||
|
BEHAVIAC_ENUMCLASS_DISPLAY_INFO_EX(L"CoId_e", L"");
|
||||||
|
|
||||||
|
BEHAVIAC_ENUM_ITEM_EX(kCoFindPath, "kCoFindPath");
|
||||||
|
BEHAVIAC_ENUM_ITEM_EX(kCoFindPathEx, "kCoFindPathEx");
|
||||||
|
}
|
||||||
|
BEHAVIAC_END_ENUM_EX()
|
||||||
|
|
||||||
|
@ -27,6 +27,16 @@ DECLARE_BEHAVIAC_ENUM_EX(GasMode_e, GasMode_e);
|
|||||||
BEHAVIAC_DECLARE_TYPE_VECTOR_HANDLER(GasMode_e);
|
BEHAVIAC_DECLARE_TYPE_VECTOR_HANDLER(GasMode_e);
|
||||||
|
|
||||||
|
|
||||||
|
enum CoId_e
|
||||||
|
{
|
||||||
|
kCoFindPath = 0,
|
||||||
|
kCoFindPathEx = 1,
|
||||||
|
};
|
||||||
|
|
||||||
|
DECLARE_BEHAVIAC_ENUM_EX(CoId_e, CoId_e);
|
||||||
|
BEHAVIAC_DECLARE_TYPE_VECTOR_HANDLER(CoId_e);
|
||||||
|
|
||||||
|
|
||||||
// -------------------
|
// -------------------
|
||||||
// Customized structs
|
// Customized structs
|
||||||
// -------------------
|
// -------------------
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<!--EXPORTED BY TOOL, DON'T MODIFY IT!-->
|
<!--EXPORTED BY TOOL, DON'T MODIFY IT!-->
|
||||||
<agents version="1" signature="1095594251">
|
<agents version="1" signature="4183950302">
|
||||||
<agent type="HeroAgent" base="BaseAgent" signature="1099894105">
|
<agent type="HeroAgent" base="BaseAgent" signature="4036110465">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="current_target_agent" type="TargetAgent*" member="false" static="false" defaultvalue="null" />
|
<property name="current_target_agent" type="TargetAgent*" member="false" static="false" defaultvalue="null" />
|
||||||
<property name="master_agent" type="MasterAgent*" member="false" static="false" defaultvalue="null" />
|
<property name="master_agent" type="MasterAgent*" member="false" static="false" defaultvalue="null" />
|
||||||
@ -31,7 +31,7 @@
|
|||||||
<property name="tmp_val4" type="float" member="false" static="false" defaultvalue="0" />
|
<property name="tmp_val4" type="float" member="false" static="false" defaultvalue="0" />
|
||||||
</properties>
|
</properties>
|
||||||
</agent>
|
</agent>
|
||||||
<agent type="AndroidAgent" base="HeroAgent" signature="858811612">
|
<agent type="AndroidAgent" base="HeroAgent" signature="1935904622">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="current_target_agent" type="TargetAgent*" member="false" static="false" defaultvalue="null" />
|
<property name="current_target_agent" type="TargetAgent*" member="false" static="false" defaultvalue="null" />
|
||||||
<property name="master_agent" type="MasterAgent*" member="false" static="false" defaultvalue="null" />
|
<property name="master_agent" type="MasterAgent*" member="false" static="false" defaultvalue="null" />
|
||||||
|
@ -27,53 +27,79 @@
|
|||||||
<property Method="Self.HeroAgent::CoGetNextMobaModeRoadPoint()" />
|
<property Method="Self.HeroAgent::CoGetNextMobaModeRoadPoint()" />
|
||||||
<property ResultOption="BT_INVALID" />
|
<property ResultOption="BT_INVALID" />
|
||||||
</node>
|
</node>
|
||||||
<node class="Parallel" id="9">
|
<node class="Sequence" id="21">
|
||||||
<property ChildFinishPolicy="CHILDFINISH_LOOP" />
|
<node class="Assignment" id="22">
|
||||||
<property ExitPolicy="EXIT_NONE" />
|
<property CastRight="false" />
|
||||||
<property FailurePolicy="FAIL_ON_ONE" />
|
<property Opl="int Self.HeroAgent::_$local_task_param_$_1" />
|
||||||
<property SuccessPolicy="SUCCEED_ON_ONE" />
|
<property Opr="Self.BaseAgent::GetTickCount()" />
|
||||||
<node class="Action" id="10">
|
|
||||||
<property Method="Self.HeroAgent::CoFindPath(glm::vec3 Self.HeroAgent::out_point0)" />
|
|
||||||
<property ResultOption="BT_INVALID" />
|
|
||||||
<attachment class="Precondition" id="11" flag="precondition">
|
|
||||||
<property BinaryOperator="And" />
|
|
||||||
<property Operator="Assign" />
|
|
||||||
<property Opl="int Self.HeroAgent::_$local_task_param_$_0" />
|
|
||||||
<property Opr2="const int 0" />
|
|
||||||
<property Phase="Enter" />
|
|
||||||
</attachment>
|
|
||||||
<attachment class="Effector" id="12" flag="effector">
|
|
||||||
<property Operator="Assign" />
|
|
||||||
<property Opl="int Self.HeroAgent::_$local_task_param_$_0" />
|
|
||||||
<property Opr2="const int 1" />
|
|
||||||
<property Phase="Both" />
|
|
||||||
</attachment>
|
|
||||||
</node>
|
</node>
|
||||||
<node class="DecoratorLoop" id="13">
|
<node class="Parallel" id="9">
|
||||||
<property Count="const int -1" />
|
<property ChildFinishPolicy="CHILDFINISH_LOOP" />
|
||||||
<property DecorateWhenChildEnds="true" />
|
<property ExitPolicy="EXIT_NONE" />
|
||||||
<property DoneWithinFrame="false" />
|
<property FailurePolicy="FAIL_ON_ONE" />
|
||||||
<attachment class="Precondition" id="14" flag="precondition">
|
<property SuccessPolicy="SUCCEED_ON_ONE" />
|
||||||
<property BinaryOperator="And" />
|
<node class="Action" id="10">
|
||||||
<property Operator="Equal" />
|
<property Method="Self.HeroAgent::CoFindPath(glm::vec3 Self.HeroAgent::out_point0)" />
|
||||||
<property Opl="int Self.HeroAgent::_$local_task_param_$_0" />
|
<property ResultOption="BT_INVALID" />
|
||||||
<property Opr2="const int 0" />
|
<attachment class="Precondition" id="11" flag="precondition">
|
||||||
<property Phase="Both" />
|
<property BinaryOperator="And" />
|
||||||
</attachment>
|
<property Operator="Assign" />
|
||||||
<node class="Sequence" id="16">
|
<property Opl="int Self.HeroAgent::_$local_task_param_$_0" />
|
||||||
<node class="Assignment" id="15">
|
<property Opr2="const int 0" />
|
||||||
<property CastRight="false" />
|
<property Phase="Enter" />
|
||||||
<property Opl="int Self.HeroAgent::_$local_task_param_$_1" />
|
</attachment>
|
||||||
<property Opr="Self.BaseAgent::RandRange(800,1300)" />
|
<attachment class="Effector" id="12" flag="effector">
|
||||||
</node>
|
<property Operator="Assign" />
|
||||||
<node class="Action" id="17">
|
<property Opl="int Self.HeroAgent::_$local_task_param_$_0" />
|
||||||
<property Method="Self.HeroAgent::CoSleep(int Self.HeroAgent::_$local_task_param_$_1)" />
|
<property Opr2="const int 1" />
|
||||||
<property ResultOption="BT_INVALID" />
|
<property Phase="Both" />
|
||||||
</node>
|
</attachment>
|
||||||
<node class="Condition" id="18">
|
</node>
|
||||||
<property Operator="NotEqual" />
|
<node class="DecoratorLoop" id="13">
|
||||||
<property Opl="Self.HeroAgent::SearchEnemy(200)" />
|
<property Count="const int -1" />
|
||||||
<property Opr="const behaviac::EBTStatus BT_SUCCESS" />
|
<property DecorateWhenChildEnds="true" />
|
||||||
|
<property DoneWithinFrame="false" />
|
||||||
|
<attachment class="Precondition" id="14" flag="precondition">
|
||||||
|
<property BinaryOperator="And" />
|
||||||
|
<property Operator="Equal" />
|
||||||
|
<property Opl="int Self.HeroAgent::_$local_task_param_$_0" />
|
||||||
|
<property Opr2="const int 0" />
|
||||||
|
<property Phase="Enter" />
|
||||||
|
</attachment>
|
||||||
|
<node class="Sequence" id="16">
|
||||||
|
<node class="IfElse" id="15">
|
||||||
|
<node class="Condition" id="17">
|
||||||
|
<property Operator="Greater" />
|
||||||
|
<property Opl="Self.BaseAgent::DeltaTime(int Self.HeroAgent::_$local_task_param_$_1)" />
|
||||||
|
<property Opr="Self.BaseAgent::RandRange(1000,1500)" />
|
||||||
|
</node>
|
||||||
|
<node class="IfElse" id="24">
|
||||||
|
<node class="Condition" id="18">
|
||||||
|
<property Operator="Equal" />
|
||||||
|
<property Opl="Self.HeroAgent::SearchEnemy(200)" />
|
||||||
|
<property Opr="const behaviac::EBTStatus BT_SUCCESS" />
|
||||||
|
</node>
|
||||||
|
<node class="True" id="25" />
|
||||||
|
<node class="Sequence" id="27">
|
||||||
|
<node class="Assignment" id="26">
|
||||||
|
<property CastRight="false" />
|
||||||
|
<property Opl="int Self.HeroAgent::_$local_task_param_$_1" />
|
||||||
|
<property Opr="Self.BaseAgent::GetTickCount()" />
|
||||||
|
</node>
|
||||||
|
<node class="False" id="28" />
|
||||||
|
</node>
|
||||||
|
</node>
|
||||||
|
<node class="False" id="23" />
|
||||||
|
</node>
|
||||||
|
<node class="Assignment" id="19">
|
||||||
|
<property CastRight="false" />
|
||||||
|
<property Opl="int Self.HeroAgent::_$local_task_param_$_0" />
|
||||||
|
<property Opr="const int 1" />
|
||||||
|
</node>
|
||||||
|
<node class="Action" id="20">
|
||||||
|
<property Method="Self.BaseAgent::AbortCoroutine(kCoFindPath)" />
|
||||||
|
<property ResultOption="BT_SUCCESS" />
|
||||||
|
</node>
|
||||||
</node>
|
</node>
|
||||||
</node>
|
</node>
|
||||||
</node>
|
</node>
|
||||||
|
@ -166,3 +166,13 @@ behaviac::EBTStatus BaseAgent::CoTest(int time)
|
|||||||
};
|
};
|
||||||
return StartCoroutine(co);
|
return StartCoroutine(co);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int BaseAgent::DeltaTime(int time)
|
||||||
|
{
|
||||||
|
return GetTickCount() - time;
|
||||||
|
}
|
||||||
|
|
||||||
|
void BaseAgent::AbortCoroutine(int co_id)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
@ -51,6 +51,8 @@ public:
|
|||||||
bool IsChiJiMode();
|
bool IsChiJiMode();
|
||||||
bool IsMobaMode();
|
bool IsMobaMode();
|
||||||
int Test(int p1);
|
int Test(int p1);
|
||||||
|
int DeltaTime(int time);
|
||||||
|
void AbortCoroutine(int co_id);
|
||||||
|
|
||||||
virtual Room* GetRoom() = 0;
|
virtual Room* GetRoom() = 0;
|
||||||
behaviac::EBTStatus CoTest1(int time);
|
behaviac::EBTStatus CoTest1(int time);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user