Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.1 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose: Interface of CTeamKillAward
  4. //
  5. // $Workfile: $
  6. // $Date: $
  7. //
  8. //------------------------------------------------------------------------------------------------------
  9. // $Log: $
  10. //
  11. // $NoKeywords: $
  12. //=============================================================================//
  13. #ifndef TEAMKILLAWARD_H
  14. #define TEAMKILLAWARD_H
  15. #ifdef WIN32
  16. #pragma once
  17. #endif
  18. #include "Award.h"
  19. #include <map>
  20. using namespace std;
  21. //------------------------------------------------------------------------------------------------------
  22. // Purpose: CTeamKillAward is an award given to the player who kills more of
  23. // their teammates than any other player.
  24. //------------------------------------------------------------------------------------------------------
  25. class CTeamKillAward: public CAward
  26. {
  27. protected:
  28. map<PID,int> numbetrayals;
  29. void noWinner(CHTMLFile& html);
  30. void extendedinfo(CHTMLFile& html);
  31. public:
  32. explicit CTeamKillAward():CAward("Antisocial"){}
  33. void getWinner();
  34. };
  35. #endif // TEAMKILLAWARD_H