#pragma once #include #include #include struct BASE_MatchInfo { DWORD m_dwID; DWORD m_dwMatchLimitTime; BYTE m_byMatchLimitCount; }; class MatchInfoParser : public Singleton ,public BaseParser { public: MatchInfoParser(); ~MatchInfoParser(); VOID Init(DWORD dwPoolSize , TCHAR *szPackfileName); VOID Release(); BOOL Load(char *pszFilename); BASE_MatchInfo* GetMatchInfo(DWORD dwKey); private: VOID Unload(); util::SolarHashTable *m_pDataTable; };