diff options
Diffstat (limited to 'src/T2DLL/T2TemplatePluginList.h')
-rw-r--r-- | src/T2DLL/T2TemplatePluginList.h | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/src/T2DLL/T2TemplatePluginList.h b/src/T2DLL/T2TemplatePluginList.h index c22c68b..4ca85e1 100644 --- a/src/T2DLL/T2TemplatePluginList.h +++ b/src/T2DLL/T2TemplatePluginList.h @@ -1,23 +1,32 @@ #pragma once #include "common.h" +#include "LArray.h" -class T2TemplatePluginList { +class AFX_EXT_CLASS T2TemplatePluginList : private LArray { public: - T2TemplatePluginList(unsigned long); + T2TemplatePluginList(DWORD pluginType); virtual ~T2TemplatePluginList(); + void AllClear(); void Regist(T2TemplatePlugin*); void Add(T2TemplatePlugin*); unsigned int GetItemCount(); T2TemplatePlugin* GetItemAt(int); T2TenantDef* FindFloor(); - T2TenantDef* FindTenantDef(int); - T2MoverDef* FindMoverDef(int); - T2OuterObjDef* FindOutObjDef(int); - T2PeopleDef* FindPeopleDef(int); - T2SilhouetteDef* FindSilhouette(int); + T2TenantDef* FindTenantDef(int equipType); + T2MoverDef* FindMoverDef(int equipType); + T2OuterObjDef* FindOutObjDef(int toolType); + T2PeopleDef* FindPeopleDef(int peopleType); + T2SilhouetteDef* FindSilhouette(int silhouetteType); int CalcCategoryCount(); void DispatchIdle(T2TowerDoc*); - unsigned long GetPluginType() { return 0; } + DWORD GetPluginType() { return mPluginType; } + +protected: + friend class T2PeopleLoader; + friend class T2Settlement; + friend class T2TemplatePluginDB; + friend class T2ToolWindow; + DWORD mPluginType; }; |