1234567891011121314151617181920212223242526272829303132333435 |
- #pragma once
- #include <map>
- struct M_NoviceGunLiftCFGData
- {
- //긍뵀
- int mID;
- //츰냔
- std::string mName;
- //�섬柯럿적
- int mRechangId;
- //옵�逞
- int mRise;
- //쟉관id
- int mGiftId;
- //일�섬柯鑒좆
- std::vector<int> mUpgradeNumber;
- };
- class M_NoviceGunLiftCFG
- {
- public:
- private:
- static std::auto_ptr<M_NoviceGunLiftCFG> msSingleton;
- public:
- int GetCount();
- const M_NoviceGunLiftCFGData* GetData(int ID);
- const std::map<int, M_NoviceGunLiftCFGData>& GetMapData();
- void Load();
- void LoadLua();
- void Reload();
- static M_NoviceGunLiftCFG* GetSingleton();
- static void Release();
- private:
- std::map<int, M_NoviceGunLiftCFGData> mMapData;
- };
|