1
This commit is contained in:
parent
1fc68a5d59
commit
07b3d684ff
@ -0,0 +1,3 @@
|
||||
#include "precompile.h"
|
||||
|
||||
#include "player.h"
|
@ -0,0 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
class Player
|
||||
{
|
||||
|
||||
};
|
@ -0,0 +1,17 @@
|
||||
#include "precompile.h"
|
||||
|
||||
#include <f8/udplog.h>
|
||||
|
||||
#include "playermgr.h"
|
||||
#include "player.h"
|
||||
|
||||
#include <f8/utils.h>
|
||||
#include <f8/msgqueue.h>
|
||||
|
||||
void PlayerMgr::Init()
|
||||
{
|
||||
}
|
||||
|
||||
void PlayerMgr::UnInit()
|
||||
{
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
|
||||
#include <a8/singleton.h>
|
||||
|
||||
class Player;
|
||||
class PlayerMgr : public a8::Singleton<PlayerMgr>
|
||||
{
|
||||
public:
|
||||
enum { HID = HID_PlayerMgr };
|
||||
|
||||
private:
|
||||
PlayerMgr() {};
|
||||
friend class a8::Singleton<PlayerMgr>;
|
||||
|
||||
public:
|
||||
void Init();
|
||||
void UnInit();
|
||||
|
||||
private:
|
||||
std::map<std::string, std::shared_ptr<Player>> account_id_hash_;
|
||||
};
|
Loading…
x
Reference in New Issue
Block a user