#pragma once //#include //#include //----------------------------------------------------------------------------------------------------------------- // 직업 DB //----------------------------------------------------------------------------------------------------------------- class SJobDB { public: SJobDB( void ); ~SJobDB( void ); struct JobInfoEx* GetJobData( int nJobID ); const char* GetJobName( int nJobID ); const int GetJonIcon( int nJobID ); const char* GetJobIconName( int nJobID ); const char GetJobClass( const int nJobID ); const std::vector< struct JobInfoEx* >& GetJobAllData(); static bool IsHunter( int nJobID, int nRace ); static bool IsFighter( int nJobID, int nRace ); static bool IsMagician( int nJobID, int nRace ); static bool IsSummoner( int nJobID, int nRace ); protected: void Init( void ); void Destroy( void ); void Load( void ); std::vector< struct JobInfoEx* > m_vJobList; private: public: static SJobDB* m_pThis; }; SJobDB & GetJobDB();