#pragma once
#include <map>
struct Fish_ShellCFGData
{
	//ÐòºÅ
	int mID;
	//±´¿Ç±¶ÂÊ
	int mShellrate;
	//È¨ÖØ
	int mWeight;
	//±´¿Ç×é
	std::vector<int> mShellItem;
};

class Fish_ShellCFG
{
public:
private:
	static std::auto_ptr<Fish_ShellCFG> msSingleton;
public:
	int GetCount();
	const Fish_ShellCFGData* GetData(int ID);
	const std::map<int, Fish_ShellCFGData>& GetMapData();
	void Load();
	void LoadLua();
	void Reload();
	static Fish_ShellCFG* GetSingleton();
	static void Release();
private:
	std::map<int, Fish_ShellCFGData> mMapData;
};
