Files
hl2_src-leak-2017/src/utils/tfstats/kamikazeaward.h
BotoX 60f625f414 import hl2_src from full.7z
source: magnet:?xt=urn:btih:21DDA6847DDE983F2F8063739249D2D1D09A5DDA
2020-12-25 16:26:23 +01:00

37 lines
1.1 KiB
C++

//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: Interface of CKamikazeAward
//
// $Workfile: $
// $Date: $
//
//------------------------------------------------------------------------------------------------------
// $Log: $
//
// $NoKeywords: $
//=============================================================================//
#ifndef KAMIKAZEAWARD_H
#define KAMIKAZEAWARD_H
#ifdef WIN32
#pragma once
#endif
#include "Award.h"
#include <map>
using namespace std;
//------------------------------------------------------------------------------------------------------
// Purpose: CKamikazeAward is an award given to the player who kills him/herself
// the most often.
//------------------------------------------------------------------------------------------------------
class CKamikazeAward: public CAward
{
protected:
map<PID,int> numdeaths;
void noWinner(CHTMLFile& html);
void extendedinfo(CHTMLFile& html);
public:
explicit CKamikazeAward():CAward("Kamikaze"){}
void getWinner();
};
#endif // KAMIKAZEAWARD_H