#pragma once
#include <map>
struct Fish_DragonPalaceData
{
	//ID
	int mID;
	//ÓãÃû×Ö
	std::string mName;
	//Í¼Æ¬×ÊÔ´
	std::string mIcon;
	//½éÉÜ1
	std::string mString1;
	//½éÉÜ2
	std::vector<std::string> mString2;
	//½éÉÜ3
	std::vector<std::string> mString3;
};

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