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