summaryrefslogtreecommitdiff
path: root/game/server/data_collector.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 /game/server/data_collector.h
downloadarchived-source-engine-2018-hl2-src-master.tar.xz
archived-source-engine-2018-hl2-src-master.zip
Diffstat (limited to 'game/server/data_collector.h')
-rw-r--r--game/server/data_collector.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/game/server/data_collector.h b/game/server/data_collector.h
new file mode 100644
index 0000000..ba1b9fd
--- /dev/null
+++ b/game/server/data_collector.h
@@ -0,0 +1,37 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+// $NoKeywords: $
+//
+//=============================================================================//
+// data_collector.h
+// Data collection system
+// Author: Michael S. Booth, June 2004
+
+#ifndef _DATA_COLLECTOR_H_
+#define _DATA_COLLECTOR_H_
+
+#include <igameevents.h>
+#include <KeyValues.h>
+
+/**
+ * This class is used to monitor the event stream and
+ * store interesting events to disk for later analysis.
+ */
+class CDataCollector : public IGameEventListener
+{
+public:
+ CDataCollector( void );
+ ~CDataCollector();
+
+ // IGameEventListener
+ virtual void FireGameEvent( KeyValues *event );
+};
+
+
+extern void StartDataCollection( void );
+extern void StopDataCollection( void );
+
+
+#endif // _DATA_COLLECTOR_H_