#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