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.
|
|
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================//
#ifndef TF_STEAMSTATS_H
#define TF_STEAMSTATS_H
#ifdef _WIN32
#pragma once
#endif
#include "steam/steam_api.h"
#include "GameEventListener.h"
class CTFSteamStats : public CAutoGameSystem, public CGameEventListener { public: CTFSteamStats(); virtual void PostInit(); virtual void LevelShutdownPreEntity(); virtual void UploadStats();
private: void FireGameEvent( IGameEvent *event ); void SetNextForceUploadTime(); void ReportLiveStats(); // Xbox 360
float m_flTimeNextForceUpload; };
extern CTFSteamStats g_TFSteamStats;
#endif //TF_STEAMSTATS_H
|