summaryrefslogtreecommitdiff
path: root/utils/tfstats/allplayersstats.h
blob: 4fe47dc00914b9ba6fb2ab848f3e02c56f533cae (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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