#pragma once
#include <boost/unordered_map.hpp>
#include <vector>
struct Fish_JuKunCardCFGData
{
	//±àºÅ
	int mID;
	//Ãû³Æ
	std::string mName;
	//È¨ÖØ
	int mWeight;
};

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