1234567891011121314151617181920212223242526272829303132333435 |
- #pragma once
- #include <boost/unordered_map.hpp>
- #include <vector>
- struct M_ActivityFeedBackGiftCFGData
- {
- //vip된섬
- int mVipLv;
- //도貫1띨棍쉽쟨
- std::vector<int> mGear1;
- //도貫2띨棍쉽쟨
- std::vector<int> mGear2;
- //도貫3띨棍쉽쟨
- std::vector<int> mGear3;
- //도貫4띨棍쉽쟨
- std::vector<int> mGear4;
- //도貫5띨棍쉽쟨
- std::vector<int> mGear5;
- };
- class M_ActivityFeedBackGiftCFG
- {
- public:
- private:
- static std::auto_ptr<M_ActivityFeedBackGiftCFG> msSingleton;
- public:
- int GetCount();
- const M_ActivityFeedBackGiftCFGData* GetData(int VipLv);
- boost::unordered_map<int, M_ActivityFeedBackGiftCFGData>& GetMapData();
- void Reload();
- void Load(const std::string& path);
- void Load();
- static M_ActivityFeedBackGiftCFG* GetSingleton();
- private:
- boost::unordered_map<int, M_ActivityFeedBackGiftCFGData> mMapData;
- };
|