summaryrefslogtreecommitdiff
path: root/utils/tfstats/allplayersstats.h
diff options
context:
space:
mode:
authorFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
committerFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
commit3bf9df6b2785fa6d951086978a3e66f49427166a (patch)
tree2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /utils/tfstats/allplayersstats.h
downloadarchived-source-engine-2018-hl2-src-master.tar.xz
archived-source-engine-2018-hl2-src-master.zip
Diffstat (limited to 'utils/tfstats/allplayersstats.h')
-rw-r--r--utils/tfstats/allplayersstats.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/utils/tfstats/allplayersstats.h b/utils/tfstats/allplayersstats.h
new file mode 100644
index 0000000..4fe47dc
--- /dev/null
+++ b/utils/tfstats/allplayersstats.h
@@ -0,0 +1,45 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose: Interface to CAllPlayersStats
+//
+// $Workfile: $
+// $Date: $
+//
+//------------------------------------------------------------------------------------------------------
+// $Log: $
+//
+// $NoKeywords: $
+//=============================================================================//
+#ifndef ALLPLAYERSSTATS_H
+#define ALLPLAYERSSTATS_H
+#ifdef WIN32
+#pragma once
+#endif
+#pragma warning (disable: 4786)
+
+#include "report.h"
+#include <map>
+#include <vector>
+#include <string>
+using namespace std;
+
+//------------------------------------------------------------------------------------------------------
+// Purpose: CAllPlayersStats is a whole page report element that reports specific
+// data about each player that has played on the server. Data such as favourite
+// weapon, rank, classes played, favourite class, and kills vs deaths.
+//------------------------------------------------------------------------------------------------------
+class CAllPlayersStats :public CReport
+{
+private:
+
+ void init();
+
+
+ public:
+ explicit CAllPlayersStats(){init();}
+
+ void generate();
+ void writeHTML(CHTMLFile& html);
+};
+
+#endif // ALLPLAYERSSTATS_H