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