// EffectCasher.h: interface for the CEffectCasher class. // ////////////////////////////////////////////////////////////////////// #if !defined(AFX_EFFECTCASHER_H__D6702665_FFC9_4B8C_B303_40C01D6B80DB__INCLUDED_) #define AFX_EFFECTCASHER_H__D6702665_FFC9_4B8C_B303_40C01D6B80DB__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #include "DataCasher.h" #include "CEffScript.h" class CEffectCashObj : public CDataObj { public: CEffectCashObj(); CEffectCashObj(const char *strName); bool EffectLoad(const char *strName); virtual ~CEffectCashObj(); CEffScript *m_pData; }; class CEffectCasher : public CDataCasher { public: CEffectCasher(); virtual ~CEffectCasher(); virtual bool LoadCashData(const char *strPath); virtual void *GetCashData(const char *strName); virtual bool BuildHashTable(const char *strPath); unsigned long CheckHashIndex(const char *strFileName); }; #endif // !defined(AFX_EFFECTCASHER_H__D6702665_FFC9_4B8C_B303_40C01D6B80DB__INCLUDED_)