1234567891011121314151617181920212223242526272829303132333435 |
- #pragma once
- #include <map>
- 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);
- const std::map<int, M_ActivityFeedBackGiftCFGData>& GetMapData();
- void Load();
- void LoadLua();
- void Reload();
- static M_ActivityFeedBackGiftCFG* GetSingleton();
- static void Release();
- private:
- std::map<int, M_ActivityFeedBackGiftCFGData> mMapData;
- };
|