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