#include "StdAfx.h" #include "CResFile.h" #include "T2TenantMemberDef.h" T2TenantMemberDef::T2TenantMemberDef() { } /*virtual*/ T2TenantMemberDef::~T2TenantMemberDef() { } void T2TenantMemberDef::Initialize(CResFile* resFile, float mult) { *resFile >> mName; *resFile >> mDemandType; *resFile >> mStartSilhouetteType; *resFile >> mEndSilhouetteType; *resFile >> mOptionType; *resFile >> mPercent; *resFile >> mNumOfPeople; if (mult > 0.0f && mPercent > 0) mRate = (mPercent * mult) / 100.0f; }