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.

45 lines
1.2 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose: Interface to CAllPlayersStats
  4. //
  5. // $Workfile: $
  6. // $Date: $
  7. //
  8. //------------------------------------------------------------------------------------------------------
  9. // $Log: $
  10. //
  11. // $NoKeywords: $
  12. //=============================================================================//
  13. #ifndef ALLPLAYERSSTATS_H
  14. #define ALLPLAYERSSTATS_H
  15. #ifdef WIN32
  16. #pragma once
  17. #endif
  18. #pragma warning (disable: 4786)
  19. #include "report.h"
  20. #include <map>
  21. #include <vector>
  22. #include <string>
  23. using namespace std;
  24. //------------------------------------------------------------------------------------------------------
  25. // Purpose: CAllPlayersStats is a whole page report element that reports specific
  26. // data about each player that has played on the server. Data such as favourite
  27. // weapon, rank, classes played, favourite class, and kills vs deaths.
  28. //------------------------------------------------------------------------------------------------------
  29. class CAllPlayersStats :public CReport
  30. {
  31. private:
  32. void init();
  33. public:
  34. explicit CAllPlayersStats(){init();}
  35. void generate();
  36. void writeHTML(CHTMLFile& html);
  37. };
  38. #endif // ALLPLAYERSSTATS_H