summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2PeopleDef.cpp
blob: 004992049a66ac6c36aa66941371e10ca2389f84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include "CResFile.h"
#include "T2PeopleDef.h"

T2PeopleDef::T2PeopleDef(DWORD type, T2PluginSpecifier& specifier, CResFile* resFile)
    : T2MatterDef(type, specifier, resFile)
{
    *resFile >> mStressMax;
    *resFile >> mStressBlueLimit;
    *resFile >> mStressYellowLimit;
}

/*virtual*/ T2PeopleDef::~T2PeopleDef() {
}

/*virtual*/ void T2PeopleDef::GetName(CString& outStr) {
    outStr.Format("%d", mSortKey);
}