diff options
Diffstat (limited to 'utils/tfstats/sentryrebuildaward.h')
| -rw-r--r-- | utils/tfstats/sentryrebuildaward.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/utils/tfstats/sentryrebuildaward.h b/utils/tfstats/sentryrebuildaward.h new file mode 100644 index 0000000..5d6dfdf --- /dev/null +++ b/utils/tfstats/sentryrebuildaward.h @@ -0,0 +1,37 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: Interface of CSentryRebuildAward +// +// $Workfile: $ +// $Date: $ +// +//------------------------------------------------------------------------------------------------------ +// $Log: $ +// +// $NoKeywords: $ +//=============================================================================// +#ifndef SENTRYREBUILDAWARD_H +#define SENTRYREBUILDAWARD_H +#ifdef WIN32 +#pragma once +#endif +#include "Award.h" +#include <map> + + +using namespace std; +//------------------------------------------------------------------------------------------------------ +// Purpose: CSentryRebuildAward is given to the engineers who built a sentry +// gun the most times +//------------------------------------------------------------------------------------------------------ +class CSentryRebuildAward: public CAward +{ +protected: + map<PID,int> numbuilds; + void noWinner(CHTMLFile& html); + void extendedinfo(CHTMLFile& html); +public: + explicit CSentryRebuildAward():CAward("Worst Sentry Placement"){} + void getWinner(); +}; +#endif // SENTRYREBUILDAWARD_H |