12345678910111213141516171819202122232425262728293031 |
- #pragma once
- #include <map>
- struct M_NoviceTurntableCFGData
- {
- //񅧏
- int mID;
- //Àñ°üID
- std::vector<int> mRechangId;
- //È¨ÖØ
- int mWeight;
- //±¶ÂÊ
- int mMultiple;
- };
- class M_NoviceTurntableCFG
- {
- public:
- private:
- static std::auto_ptr<M_NoviceTurntableCFG> msSingleton;
- public:
- int GetCount();
- const M_NoviceTurntableCFGData* GetData(int ID);
- const std::map<int, M_NoviceTurntableCFGData>& GetMapData();
- void Load();
- void LoadLua();
- void Reload();
- static M_NoviceTurntableCFG* GetSingleton();
- static void Release();
- private:
- std::map<int, M_NoviceTurntableCFGData> mMapData;
- };
|