#include "StdAfx.h" #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); }