#pragma once
#include <map>
struct Fish_TurretSkillWingData
{
	//编号
	int mID;
	//技能ID
	int mSkillId;
	//技能描述
	std::string mSkillDesc;
	//初始数值
	int mValue;
	//对应数值
	int mValueShu;
	//技能图标资源
	std::string mSkillResources;
	//升级加成
	int mAddValue;
	//最高加成次数
	int mTopValue;
};

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