#pragma once
#include <boost/unordered_map.hpp>
#include <vector>
struct Fish_GetTelephoneBillData
{
	//key
	int mID;
	//Ãû×Ö
	std::string mName;
	//ÃèÊö
	std::string mDesc;
	//Í¼¼øÍ¼±ê
	std::string mBookIcon;
	//Ç°Íù
	int mGoTo;
};

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