1
This commit is contained in:
parent
ab182b36ab
commit
d176d048ae
@ -40,6 +40,8 @@
|
|||||||
#include "tracemgr.h"
|
#include "tracemgr.h"
|
||||||
#include "matchmgr.h"
|
#include "matchmgr.h"
|
||||||
#include "selfchecker.h"
|
#include "selfchecker.h"
|
||||||
|
#include "hero_agent.h"
|
||||||
|
#include "android_agent.h"
|
||||||
|
|
||||||
#include "skillhelper.h"
|
#include "skillhelper.h"
|
||||||
#include "mt/MetaMgr.h"
|
#include "mt/MetaMgr.h"
|
||||||
@ -185,6 +187,18 @@ bool App::Init(int argc, char* argv[])
|
|||||||
GGListener::Instance()->Init();
|
GGListener::Instance()->Init();
|
||||||
HttpProxy::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",
|
f8::UdpLog::Instance()->Info("gameserver starting instance_id:%d pid:%d debug_mode:%d channel:%d",
|
||||||
{
|
{
|
||||||
instance_id_,
|
instance_id_,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user