#pragma once
#include <boost/unordered_map.hpp>
#include <vector>
struct M_ActivityGrandPrixCFGData
{
	//±àºÅ
	int mID;
	//Àñ°üID
	std::vector<int> mRechangId;
	//È¨ÖØ
	int mWeight;
	//±¶ÂÊ
	int mMultiple;
};

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