123456789101112131415161718192021222324252627282930313233 |
- #pragma once
- #include <map>
- struct Fish_GetTelephoneBillData
- {
- //key
- int mID;
- //Ãû×Ö
- std::string mName;
- //ÃèÊö
- std::string mDesc;
- //ͼ¼øÍ¼±ê
- std::string mBookIcon;
- //ǰÍù
- int mGoTo;
- };
- class Fish_GetTelephoneBill
- {
- public:
- private:
- static std::auto_ptr<Fish_GetTelephoneBill> msSingleton;
- public:
- int GetCount();
- const Fish_GetTelephoneBillData* GetData(int ID);
- const std::map<int, Fish_GetTelephoneBillData>& GetMapData();
- void Load();
- void LoadLua();
- void Reload();
- static Fish_GetTelephoneBill* GetSingleton();
- static void Release();
- private:
- std::map<int, Fish_GetTelephoneBillData> mMapData;
- };
|