123456789101112131415161718192021222324252627282930313233 |
- #pragma once
- #include <boost/unordered_map.hpp>
- #include <vector>
- struct M_ActivityDoubleElevenRechargeData
- {
- //ID
- int mID;
- //췄甘
- std::string mDesc;
- //념令쏜띨
- int mCondition;
- //돛야ID
- std::vector<int> mItemID;
- //돛야鑒좆
- std::vector<int> mItemCount;
- };
- class M_ActivityDoubleElevenRecharge
- {
- public:
- private:
- static std::auto_ptr<M_ActivityDoubleElevenRecharge> msSingleton;
- public:
- int GetCount();
- const M_ActivityDoubleElevenRechargeData* GetData(int ID);
- boost::unordered_map<int, M_ActivityDoubleElevenRechargeData>& GetMapData();
- void Reload();
- void Load(const std::string& path);
- void Load();
- static M_ActivityDoubleElevenRecharge* GetSingleton();
- private:
- boost::unordered_map<int, M_ActivityDoubleElevenRechargeData> mMapData;
- };
|