12345678910111213141516171819202122232425262728293031 |
- #pragma once
- #include <boost/unordered_map.hpp>
- #include <vector>
- struct M_ActivityFishingCeleGiftRechargeData
- {
- //ID
- int mID;
- //뚤壇쟉관ID
- int mGiftID;
- //矜狼돛야ID
- int mneedItem;
- //矜狼돛야鑒좆
- int mneedCount;
- };
- class M_ActivityFishingCeleGiftRecharge
- {
- public:
- private:
- static std::auto_ptr<M_ActivityFishingCeleGiftRecharge> msSingleton;
- public:
- int GetCount();
- const M_ActivityFishingCeleGiftRechargeData* GetData(int ID);
- boost::unordered_map<int, M_ActivityFishingCeleGiftRechargeData>& GetMapData();
- void Reload();
- void Load(const std::string& path);
- void Load();
- static M_ActivityFishingCeleGiftRecharge* GetSingleton();
- private:
- boost::unordered_map<int, M_ActivityFishingCeleGiftRechargeData> mMapData;
- };
|