1
This commit is contained in:
parent
605a75e076
commit
0d03534499
@ -36,6 +36,7 @@
|
|||||||
|
|
||||||
#include "tracemgr.h"
|
#include "tracemgr.h"
|
||||||
#include "matchmgr.h"
|
#include "matchmgr.h"
|
||||||
|
#include "selfchecker.h"
|
||||||
|
|
||||||
#include "skillhelper.h"
|
#include "skillhelper.h"
|
||||||
#include "mt/MetaMgr.h"
|
#include "mt/MetaMgr.h"
|
||||||
@ -169,6 +170,7 @@ bool App::Init(int argc, char* argv[])
|
|||||||
SkillHelper::Init();
|
SkillHelper::Init();
|
||||||
JsonDataMgr::Instance()->Init();
|
JsonDataMgr::Instance()->Init();
|
||||||
mt::MetaMgr::Instance()->Init();
|
mt::MetaMgr::Instance()->Init();
|
||||||
|
SelfChecker::Init();
|
||||||
EntityFactory::Instance()->Init();
|
EntityFactory::Instance()->Init();
|
||||||
uuid.SetMachineId((node_id - 1) * MAX_NODE_ID + instance_id);
|
uuid.SetMachineId((node_id - 1) * MAX_NODE_ID + instance_id);
|
||||||
KillMgr::Instance()->Init();
|
KillMgr::Instance()->Init();
|
||||||
@ -222,6 +224,7 @@ void App::UnInit()
|
|||||||
RoomMgr::Instance()->UnInit();
|
RoomMgr::Instance()->UnInit();
|
||||||
KillMgr::Instance()->UnInit();
|
KillMgr::Instance()->UnInit();
|
||||||
EntityFactory::Instance()->UnInit();
|
EntityFactory::Instance()->UnInit();
|
||||||
|
SelfChecker::UnInit();
|
||||||
mt::MetaMgr::Instance()->UnInit();
|
mt::MetaMgr::Instance()->UnInit();
|
||||||
JsonDataMgr::Instance()->UnInit();
|
JsonDataMgr::Instance()->UnInit();
|
||||||
f8::BtMgr::Instance()->UnInit();
|
f8::BtMgr::Instance()->UnInit();
|
||||||
|
18
server/gameserver/selfchecker.cc
Normal file
18
server/gameserver/selfchecker.cc
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
#include "precompile.h"
|
||||||
|
|
||||||
|
#include "selfchecker.h"
|
||||||
|
|
||||||
|
void SelfChecker::Init()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void SelfChecker::UnInit()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void SelfChecker::Check()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
10
server/gameserver/selfchecker.h
Normal file
10
server/gameserver/selfchecker.h
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
class SelfChecker
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
static void Init();
|
||||||
|
static void UnInit();
|
||||||
|
|
||||||
|
static void Check();
|
||||||
|
};
|
Loading…
x
Reference in New Issue
Block a user