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.
35 lines
1.0 KiB
35 lines
1.0 KiB
//========= Copyright Valve Corporation, All rights reserved. ============// |
|
// |
|
//=============================================================================// |
|
|
|
#ifndef REPLAY_GAMESTATS_H |
|
#define REPLAY_GAMESTATS_H |
|
#ifdef _WIN32 |
|
#pragma once |
|
#endif |
|
|
|
#include "replay/replayhandle.h" |
|
|
|
class CReplayRenderDialog; |
|
struct RenderMovieParams_t; |
|
|
|
class CReplayGameStatsHelper |
|
{ |
|
public: |
|
CReplayGameStatsHelper(); |
|
|
|
// Adding "Time" before uploading. |
|
void UploadError( KeyValues *pData, bool bIncludeTimeField ); |
|
|
|
#if defined( CLIENT_DLL ) |
|
void SW_ReplayStats_WriteRenderDataStart( const RenderMovieParams_t& RenderParams, const CReplayRenderDialog *pDlg ); |
|
void SW_ReplayStats_WriteRenderDataEnd( const RenderMovieParams_t& RenderParams, const char *pEndReason ); |
|
|
|
private: |
|
void SW_ReplayStats_WriteRenderData( bool bStarting, const RenderMovieParams_t& RenderParams, const CReplayRenderDialog *pDlg, const char *pEndReason = NULL ); |
|
#endif |
|
}; |
|
|
|
CReplayGameStatsHelper &GetReplayGameStatsHelper(); |
|
|
|
#endif // REPLAY_GAMESTATS_H
|
|
|