#pragma once
#include <boost/unordered_map.hpp>
#include <vector>
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);
	boost::unordered_map<int, Fish_DragonPalaceData>& GetMapData();
	void Reload();
	void Load(const std::string& path);
	void Load();
	static Fish_DragonPalace* GetSingleton();
private:
	boost::unordered_map<int, Fish_DragonPalaceData> mMapData;
};
