www.pudn.com > XmudOSr.rar > NpcInfo.h
#ifndef __NPCINFO_H__
#define __NPCINFO_H__
typedef struct tagNpcInfo{
CString m_sCNAME;
CString m_sENAME;
CString m_sXFILENAME;
}CNpcInfo,*PNpcInfo;
typedef struct tagNpcSkillInfo{
CString m_sCNAME;
CString m_sENAME;
int m_iSCORER;
int m_iLEVEL;
CString m_sKIND;
CString m_sMAPPING;
CString m_sDATADBF;
}CNpcSkillInfo,*PNpcSkillInfo;
typedef struct tagNpcEquipInfo{
CString m_sCNAME;
CString m_sENAME;
int m_iWEIGHT;
CString m_sData_DBF;
CString m_sNOW;
}CNpcEquipInfo,*PNpcEquipInfo;
// Nuke start
typedef struct tagNpcAskInfo{
CString m_sCNAME;
CString m_sENAME;
int m_iSHOW;
CString m_sDATA;
}CNpcAskInfo,*PNpcAskInfo;
// Nuke end
typedef struct tagSkillDefine{
CString m_sCNAME;
CString m_sENAME;
CString m_sSKILLKIND;
int m_iATT_RADIX;
int m_iREQUIRE;
CString m_sWHATITEM;
int m_iCOST;
int m_iNEEDJING;
int m_iNEEDNEILI;
int m_iNEEDQI;
}CSkillDefine,*PSkillDefine;
BOOL GetNpcInfo(CString sNpcFile);
BOOL GetNpcEquipInfo(CString sNpcFile);
BOOL GetNpcSkillInfo(CStringList * strComList);
CString GetNpcFaceInfo(CString sNpcName);
#endif