#pragma once
#include <map>
struct M_RobNoticeCFGData
{
	//Key
	std::string mID;
	//ÏÔÊ¾Î»ÖÃ
	int mShowPos;
};

class M_RobNoticeCFG
{
public:
private:
	static std::auto_ptr<M_RobNoticeCFG> msSingleton;
public:
	int GetCount();
	const M_RobNoticeCFGData* GetData(std::string ID);
	const std::map<std::string, M_RobNoticeCFGData>& GetMapData();
	void Load();
	void LoadLua();
	void Reload();
	static M_RobNoticeCFG* GetSingleton();
	static void Release();
private:
	std::map<std::string, M_RobNoticeCFGData> mMapData;
};
