#ifndef T2DLL_T2UNITINFO_H #define T2DLL_T2UNITINFO_H #include "../common.h" class AFX_CLASS_EXPORT T2UnitInfo { public: T2UnitInfo(); ~T2UnitInfo(); BOOL IsBuildable(); BOOL IsMoverID(unsigned int tenantID); BOOL IsRequestID(unsigned int moverID); unsigned int GetTenantID(); unsigned int GetMoverID(); unsigned int GetRequestID(); void FillTenantID(unsigned int tenantID); void FillMoverID(unsigned int moverID); void InitMask(CResFile& resFile); void Read(T2Archive& archive, T2TowerDoc* towerDoc); void Write(T2Archive& archive); protected: // encodes buildable flag and a mover OR request ID unsigned int mVarA; unsigned int mVarB; }; #endif