#pragma once
#include <boost/unordered_map.hpp>
#include <vector>
struct M_WXYaoQingCFGData
{
	//±àºÅ
	int mID;
	//ÑûÇëÃèÊö
	std::string mDesInvitation;
	//Íê³ÉÈËÊý
	int mNumberCompleted;
	//½±Àø
	std::vector<int> mWard;
};

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