mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-08 01:39:36 +00:00
1
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
//========= 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
|
||||
Reference in New Issue
Block a user