91 lines
1.8 KiB
C++
91 lines
1.8 KiB
C++
|
|
#pragma once
|
|
|
|
//#include <string>
|
|
//#include <vector>
|
|
#include <toolkit/khash.h>
|
|
|
|
//////////////////////////////////////////////////////////////////////////
|
|
/// 기본 스탯 DB
|
|
class SBasicStatDB
|
|
{
|
|
public:
|
|
SBasicStatDB();
|
|
~SBasicStatDB();
|
|
|
|
struct CreatureStat * GetStatData( int nStatID );
|
|
|
|
protected:
|
|
void Init();
|
|
void Destroy();
|
|
void Load();
|
|
|
|
std::map< int, struct CreatureStat* > m_mapStatList;
|
|
|
|
private:
|
|
};
|
|
|
|
SBasicStatDB & GetBasicStatDB();
|
|
|
|
enum EVENT_IDX
|
|
{
|
|
EI_01 = 0, ///< 파이어 타이밍
|
|
EI_02, ///< 힛트 01 타이밍
|
|
EI_03, ///< 데미지01 타이밍
|
|
EI_04, ///< 힛트 02 타이밍
|
|
EI_05, ///< 데미지02 타이밍
|
|
EI_06, ///< 힛트 03 타이밍
|
|
EI_07, ///< 데미지03 타이밍
|
|
EI_08, ///< 여유 분01
|
|
EI_09, ///< 여유 분01
|
|
EI_10, ///< 여유 분01
|
|
EI_11, ///< 여유 분01
|
|
};
|
|
|
|
////////////////////////////////////////////////////////////////////////////
|
|
//// Animation Info DB
|
|
//class SAnimationDB
|
|
//{
|
|
//public:
|
|
// SAnimationDB();
|
|
// ~SAnimationDB();
|
|
//
|
|
// std::vector< struct AVATAR_ANIINFO* >* GetAnimationList( const char * pAniKey );
|
|
//
|
|
//protected:
|
|
// void Init();
|
|
// void Destroy();
|
|
// void Load();
|
|
//
|
|
// void LoadAvatar();
|
|
//
|
|
// KHash<std::vector< struct AVATAR_ANIINFO* >*, hashPr_string_nocase> m_hashAniInfo;
|
|
//
|
|
//private:
|
|
//};
|
|
//
|
|
//SAnimationDB & GetAnimationDB();
|
|
|
|
|
|
//////////////////////////////////////////////////////////////////////////
|
|
/// PreLoad Info DB
|
|
class SPreLoadDB
|
|
{
|
|
public:
|
|
SPreLoadDB( class SSoundManager * pSoundMng );
|
|
~SPreLoadDB();
|
|
|
|
/// 캐쉬에서 안내려 놓을 리소스 로딩
|
|
void CacheResLoad();
|
|
|
|
protected:
|
|
void Init();
|
|
void Destroy();
|
|
void Load();
|
|
|
|
std::vector< std::string > m_vPreLoadList;
|
|
SSoundManager * m_pSoundMng;
|
|
private:
|
|
};
|
|
|
|
SPreLoadDB & GetPreLoadDB( class SSoundManager * pSoundMng ); |