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

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