This commit is contained in:
aozhiwei 2023-10-16 12:32:25 +08:00
parent 40bf09f833
commit 8bdc07ad9b
2 changed files with 3 additions and 3 deletions

View File

@ -83,8 +83,8 @@ void Android::Initialize()
} }
#ifdef NEW_BT #ifdef NEW_BT
agent_->SetOwner(this); agent_->SetOwner(this);
f8::BtMgr::Instance()->BtLoad(agent_, "android_pvp"); f8::BtMgr::Instance()->BtLoad(agent_, "hero/standard");
f8::BtMgr::Instance()->BtSetCurrent(agent_, "android_pvp"); f8::BtMgr::Instance()->BtSetCurrent(agent_, "hero/standard");
#endif #endif
} }

View File

@ -167,7 +167,7 @@ bool App::Init(int argc, char* argv[])
f8::TGLog::Instance()->Init(a8::Format(PROJ_NAME_FMT, {GAME_ID}), false, 0); f8::TGLog::Instance()->Init(a8::Format(PROJ_NAME_FMT, {GAME_ID}), false, 0);
f8::HttpClientPool::Instance()->Init(MAX_ALL_HTTP_NUM, MAX_SYS_HTTP_NUM, MAX_USER_HTTP_NUM); f8::HttpClientPool::Instance()->Init(MAX_ALL_HTTP_NUM, MAX_SYS_HTTP_NUM, MAX_USER_HTTP_NUM);
f8::BtMgr::Instance()->Init("exported"); f8::BtMgr::Instance()->Init("exported");
#ifdef DEBUG #ifdef DEBUG1
f8::BtMgr::Instance()->SetLogging(true); f8::BtMgr::Instance()->SetLogging(true);
#endif #endif
SkillHelper::Init(); SkillHelper::Init();