#pragma once
#include <map>
struct Fish_GiantSharkRankingData
{
	//ID
	int mID;
	//开始排名
	int mStartRank;
	//结束排名
	int mEndRank;
	//奖励道具列表，填写M_ItemCFG中的道具ID
	std::vector<int> mRewardList;
	//上榜限制
	int mLimit;
};

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