#pragma once
#include <map>
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);
	const std::map<int, M_WXYaoQingCFGData>& GetMapData();
	void Load();
	void LoadLua();
	void Reload();
	static M_WXYaoQingCFG* GetSingleton();
	static void Release();
private:
	std::map<int, M_WXYaoQingCFGData> mMapData;
};
