This commit is contained in:
aozhiwei 2023-05-06 11:54:42 +08:00
parent ab182b36ab
commit d176d048ae

View File

@ -40,6 +40,8 @@
#include "tracemgr.h"
#include "matchmgr.h"
#include "selfchecker.h"
#include "hero_agent.h"
#include "android_agent.h"
#include "skillhelper.h"
#include "mt/MetaMgr.h"
@ -185,6 +187,18 @@ bool App::Init(int argc, char* argv[])
GGListener::Instance()->Init();
HttpProxy::Instance()->Init();
#if 0
for (int i = 0;i <1000; ++i)
{
auto agent_ = behaviac::Agent::Create<AndroidAgent>();
agent_->SetOwner(nullptr);
f8::BtMgr::Instance()->BtLoad(agent_, "android_attack");
//f8::BtMgr::Instance()->BtSetCurrent(agent_, "android_pvp");
f8::BtMgr::Instance()->BtDestory(agent_);
//agent_ = nullptr;
}
#endif
f8::UdpLog::Instance()->Info("gameserver starting instance_id:%d pid:%d debug_mode:%d channel:%d",
{
instance_id_,