M_NoviceGunLiftCFG.h 645 B

1234567891011121314151617181920212223242526272829303132333435
  1. #pragma once
  2. #include <map>
  3. struct M_NoviceGunLiftCFGData
  4. {
  5. //긍뵀
  6. int mID;
  7. //츰냔
  8. std::string mName;
  9. //�섬柯럿적
  10. int mRechangId;
  11. //옵�逞
  12. int mRise;
  13. //쟉관id
  14. int mGiftId;
  15. //일�섬柯鑒좆
  16. std::vector<int> mUpgradeNumber;
  17. };
  18. class M_NoviceGunLiftCFG
  19. {
  20. public:
  21. private:
  22. static std::auto_ptr<M_NoviceGunLiftCFG> msSingleton;
  23. public:
  24. int GetCount();
  25. const M_NoviceGunLiftCFGData* GetData(int ID);
  26. const std::map<int, M_NoviceGunLiftCFGData>& GetMapData();
  27. void Load();
  28. void LoadLua();
  29. void Reload();
  30. static M_NoviceGunLiftCFG* GetSingleton();
  31. static void Release();
  32. private:
  33. std::map<int, M_NoviceGunLiftCFGData> mMapData;
  34. };