This commit is contained in:
aozhiwei 2023-02-10 16:26:52 +08:00
parent 605a75e076
commit 0d03534499
3 changed files with 31 additions and 0 deletions

View File

@ -36,6 +36,7 @@
#include "tracemgr.h"
#include "matchmgr.h"
#include "selfchecker.h"
#include "skillhelper.h"
#include "mt/MetaMgr.h"
@ -169,6 +170,7 @@ bool App::Init(int argc, char* argv[])
SkillHelper::Init();
JsonDataMgr::Instance()->Init();
mt::MetaMgr::Instance()->Init();
SelfChecker::Init();
EntityFactory::Instance()->Init();
uuid.SetMachineId((node_id - 1) * MAX_NODE_ID + instance_id);
KillMgr::Instance()->Init();
@ -222,6 +224,7 @@ void App::UnInit()
RoomMgr::Instance()->UnInit();
KillMgr::Instance()->UnInit();
EntityFactory::Instance()->UnInit();
SelfChecker::UnInit();
mt::MetaMgr::Instance()->UnInit();
JsonDataMgr::Instance()->UnInit();
f8::BtMgr::Instance()->UnInit();

View File

@ -0,0 +1,18 @@
#include "precompile.h"
#include "selfchecker.h"
void SelfChecker::Init()
{
}
void SelfChecker::UnInit()
{
}
void SelfChecker::Check()
{
}

View File

@ -0,0 +1,10 @@
#pragma once
class SelfChecker
{
public:
static void Init();
static void UnInit();
static void Check();
};