#pragma once
#include <boost/unordered_map.hpp>
#include <vector>
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);
	boost::unordered_map<std::string, M_RobNoticeCFGData>& GetMapData();
	void Reload();
	void Load(const std::string& path);
	void Load();
	static M_RobNoticeCFG* GetSingleton();
private:
	boost::unordered_map<std::string, M_RobNoticeCFGData> mMapData;
};
