#pragma once
#include <boost/unordered_map.hpp>
#include <vector>
struct M_ActivityGetRichCFGData
{
	//±àºÅ
	int mID;
	//È¨ÖØ
	int mWeight;
	//±¶ÂÊ
	int mRate;
	//½±Àø½ð±Ò
	int mGold;
};

class M_ActivityGetRichCFG
{
public:
private:
	static std::auto_ptr<M_ActivityGetRichCFG> msSingleton;
public:
	int GetCount();
	const M_ActivityGetRichCFGData* GetData(int ID);
	boost::unordered_map<int, M_ActivityGetRichCFGData>& GetMapData();
	void Reload();
	void Load(const std::string& path);
	void Load();
	static M_ActivityGetRichCFG* GetSingleton();
private:
	boost::unordered_map<int, M_ActivityGetRichCFGData> mMapData;
};
