123456789101112131415161718192021222324252627282930313233 |
- #pragma once
- #include <boost/unordered_map.hpp>
- #include <vector>
- struct M_ActivityFishingCeleLotteryMapData
- {
- //ID
- int mID;
- //홈路(6쌓)
- std::vector<int> mWeight;
- //녜쉽淃돛야
- std::vector<int> mItemId;
- //녜쉽淃돛야鑒좆
- std::vector<int> mItemCount;
- //홈路(6쌓)
- std::vector<int> mWeightShow;
- };
- class M_ActivityFishingCeleLotteryMap
- {
- public:
- private:
- static std::auto_ptr<M_ActivityFishingCeleLotteryMap> msSingleton;
- public:
- int GetCount();
- const M_ActivityFishingCeleLotteryMapData* GetData(int ID);
- boost::unordered_map<int, M_ActivityFishingCeleLotteryMapData>& GetMapData();
- void Reload();
- void Load(const std::string& path);
- void Load();
- static M_ActivityFishingCeleLotteryMap* GetSingleton();
- private:
- boost::unordered_map<int, M_ActivityFishingCeleLotteryMapData> mMapData;
- };
|