blob: 22870dce8aae6a571243f4ffdebf051e01ecb966 (
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
38
39
40
41
42
43
44
45
46
47
48
49
|
#ifndef T2DLL_T2TENANTMEMBERTABLEDEF_H
#define T2DLL_T2TENANTMEMBERTABLEDEF_H
#include "../common.h"
#include "T2PlaceParamDef.h"
class AFX_CLASS_EXPORT T2TenantMemberTableDef {
public:
T2TenantMemberTableDef(HINSTANCE, CResFile*, float);
T2TenantMemberTableDef(const char*, CResFile*, float);
virtual ~T2TenantMemberTableDef();
private:
void Initialize();
public:
int GetEconoType() const;
BOOL IsCheckOnlyFirstEconoType() const;
T2TenantMemberDef* GetElem(int) const;
int GetScore(T2PlaceParamDef::EPlace) const;
BOOL IsCollectFromFloor() const;
BOOL IsCollectFromPool(T2TowerDoc*) const;
BOOL IsCollectFromTenant() const;
int GetNumOfElem() const;
unsigned int GetSpecialFlag() const;
protected:
T2DayParamDef* MakeDayParamDef(HINSTANCE, int);
T2DayParamDef* MakeDayParamDef(const char*, int);
T2PlaceParamDef* MakePlaceParamDef(HINSTANCE, int);
T2PlaceParamDef* MakePlaceParamDef(const char*, int);
int m4;
int mEconoType;
unsigned int mSpecialFlag;
int m10;
T2DayParamDef *mDayParamDef;
T2PlaceParamDef *mPlaceParamDef;
int m1C;
int mNumOfElem;
T2TenantMemberDef *mElem;
};
inline int T2TenantMemberTableDef::GetNumOfElem() const {
return mNumOfElem;
}
inline unsigned int T2TenantMemberTableDef::GetSpecialFlag() const {
return mSpecialFlag;
}
#endif
|