blob: f06f53075c373722509d2c2b4b98aedff572ca86 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#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;
}
|