blob: 0c1578c1617aae78ccf8262278d4d5a0e359921c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
#ifndef T2DLL_CFILEPLUGIN_H
#define T2DLL_CFILEPLUGIN_H
#include "../common.h"
#include "CPlugin.h"
class CPluginInfo;
class AFX_CLASS_EXPORT CFilePlugin : public CPlugin {
public:
CFilePlugin(DWORD type, T2PluginSpecifier& specifier);
virtual ~CFilePlugin();
virtual DWORD GetPluginStyle() { return 'fplg'; }
virtual void GetName(CString& outStr);
virtual BOOL Load();
virtual BOOL Unload();
CPluginInfo* GetPluginInfo();
DWORD GetID() { return mID; }
unsigned int GetAttrib() { return mAttrib; }
DWORD GetDependID() { return mDependID; }
unsigned int GetGameLevel() { return mGameLevel; }
unsigned int GetSecretItem() { return mSecretItem; }
int GetItemType() { return mItemType; }
int GetMustItem() { return mMustItem; }
void UseSecret() { mSecretItem = 0; }
protected:
DWORD mID;
unsigned int mAttrib;
DWORD mDependID;
int mGameLevel;
int mSecretItem;
int mItemType;
int mMustItem;
CString mPluginName;
};
#endif
|