1
This commit is contained in:
parent
fce1c41750
commit
6ce406aea1
13
server/masterserver/cachemgr.cc
Normal file
13
server/masterserver/cachemgr.cc
Normal file
@ -0,0 +1,13 @@
|
||||
#include "precompile.h"
|
||||
|
||||
#include "cachemgr.h"
|
||||
|
||||
void CacheMgr::Init()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void CacheMgr::UnInit()
|
||||
{
|
||||
|
||||
}
|
23
server/masterserver/cachemgr.h
Normal file
23
server/masterserver/cachemgr.h
Normal file
@ -0,0 +1,23 @@
|
||||
#pragma once
|
||||
|
||||
#include "ss_proto.pb.h"
|
||||
|
||||
class CacheMgr : public a8::Singleton<CacheMgr>
|
||||
{
|
||||
public:
|
||||
enum { HID = HID_CacheMgr };
|
||||
|
||||
private:
|
||||
CacheMgr() {};
|
||||
friend class a8::Singleton<CacheMgr>;
|
||||
|
||||
public:
|
||||
|
||||
void Init();
|
||||
void UnInit();
|
||||
|
||||
private:
|
||||
|
||||
private:
|
||||
|
||||
};
|
@ -19,6 +19,7 @@ enum NetHandler_e
|
||||
{
|
||||
HID_GSMgr,
|
||||
HID_IMSMgr,
|
||||
HID_CacheMgr,
|
||||
};
|
||||
|
||||
const char* const PROJ_NAME_FMT = "friend_masterserver";
|
||||
|
Loading…
x
Reference in New Issue
Block a user