Files
Leviathan/Client/Game/game/DB/SJobDB.h
T
2026-06-01 12:46:52 +02:00

47 lines
1.1 KiB
C++

#pragma once
//#include <string>
//#include <vector>
//-----------------------------------------------------------------------------------------------------------------
// 직업 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();