summaryrefslogtreecommitdiff
path: root/utils/tfstats/allplayersstats.h
diff options
context:
space:
mode:
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