#pragma once #include "common.h" #include "T2SubPlugin.h" class AFX_EXT_CLASS T2HallEventItem { public: T2HallEventItem(T2HallEventPlugin *inPlugin, const char *inStr) { mPlugin = inPlugin; if (inStr) strcpy(mStr, inStr); else mStr[0] = 0; } virtual ~T2HallEventItem() {} T2HallEventPlugin *mPlugin; char mStr[64]; }; class AFX_EXT_CLASS T2HallEventPlugin : public T2SubPlugin { public: T2HallEventPlugin(DWORD inType, T2PluginSpecifier& inSpecifier); virtual ~T2HallEventPlugin(); void UnfoldPluginSelf(); unsigned int GetRsrcType() { return 'HeDf'; } virtual int GetBindTime() { return mBindTime; } virtual DWORD LoadSelf(); protected: virtual void LoadRsrcFromStream(CResFile& inResFile); unsigned short mResID; unsigned int mCC; unsigned int mD0; unsigned int mD4; int mD8; int mDC; int mE0; int mE4; int mBindTime; CString mEC; int _F0; int mF4; CString mF8; };