40 lines
765 B
C++
40 lines
765 B
C++
|
|
|
|
#pragma once
|
|
|
|
//#include <string>
|
|
#include <toolkit/khash.h>
|
|
|
|
//////////////////////////////////////////////////////////////////////////
|
|
/** 지속효과
|
|
StateInfo
|
|
*/
|
|
class STenacityDB
|
|
{
|
|
public:
|
|
STenacityDB();
|
|
~STenacityDB();
|
|
|
|
struct StateInfoEx * GetTenacityData( int nTenacityID );
|
|
int GetToolTipID( int nStateID );
|
|
int GetNameID( int nStateID );
|
|
int GetIconID( int nStateID );
|
|
const char * GetIconName( int nStateID );
|
|
int GetFXID( int nStateID );
|
|
int IsHarmful( int nStateID );
|
|
int GetFXPos( int nStateID );
|
|
|
|
protected:
|
|
void Init();
|
|
void Destroy();
|
|
void Load();
|
|
|
|
KHash< StateInfoEx*, hashPr_mod_int> m_hashTenacity;
|
|
|
|
private:
|
|
|
|
public:
|
|
static STenacityDB* m_pThis;
|
|
};
|
|
|
|
STenacityDB & GetTenacityDB(); |