blob: 45c1f220fd745af0cbd8b1d001dc23fb547d6cc8 (
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
|
#ifndef T2DLL_T2TEMPLATEPLUGINLIST_H
#define T2DLL_T2TEMPLATEPLUGINLIST_H
#include "../common.h"
#include "LArray.h"
class AFX_CLASS_EXPORT T2TemplatePluginList : public LArray {
public:
T2TemplatePluginList(DWORD pluginType);
virtual ~T2TemplatePluginList();
void AllClear();
void Regist(T2TemplatePlugin*);
void Add(T2TemplatePlugin*);
unsigned int GetItemCount();
T2TemplatePlugin* GetItemAt(int);
T2TenantDef* FindFloor();
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*);
DWORD GetPluginType() { return mPluginType; }
protected:
friend class T2PeopleLoader;
friend class T2Settlement;
friend class T2TemplatePluginDB;
friend class T2ToolWindow;
DWORD mPluginType;
};
#endif
|