123456789101112131415161718192021222324252627282930313233 |
- #pragma once
- #include <map>
- struct M_ActivityIntegralExchangeCFGData
- {
- //긍뵀
- int mID;
- //틴聯ID
- int mVoucherId;
- //틴聯鑒좆
- int mVoucherCount;
- //돛야ID
- int mItemId;
- //돛야鑒좆
- int mItemCount;
- };
- class M_ActivityIntegralExchangeCFG
- {
- public:
- private:
- static std::auto_ptr<M_ActivityIntegralExchangeCFG> msSingleton;
- public:
- int GetCount();
- const M_ActivityIntegralExchangeCFGData* GetData(int ID);
- const std::map<int, M_ActivityIntegralExchangeCFGData>& GetMapData();
- void Load();
- void LoadLua();
- void Reload();
- static M_ActivityIntegralExchangeCFG* GetSingleton();
- static void Release();
- private:
- std::map<int, M_ActivityIntegralExchangeCFGData> mMapData;
- };
|