#pragma once
#include <map>
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);
	const std::map<int, M_ActivityGetRichCFGData>& GetMapData();
	void Load();
	void LoadLua();
	void Reload();
	static M_ActivityGetRichCFG* GetSingleton();
	static void Release();
private:
	std::map<int, M_ActivityGetRichCFGData> mMapData;
};
