#pragma once
#include <map>
struct M_ActivityChipBoxCFGData
{
	//Key
	std::string mKey;
	//ÊýÖµ
	int mValue;
	//×Ö·û´®
	std::string mStringValue;
};

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