#pragma once
#include <map>
struct M_BankGiftCFGData
{
	//±àºÅ
	int mID;
	//Àñ°üID
	std::vector<int> mRechangId;
	//È¨ÖØ
	int mWeight;
	//±¶ÂÊ
	int mMultiple;
};

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