Modified source engine (2017) developed by valve and leaked in 2020. Not for commercial purporses
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.
 
 
 
 
 
 

34 lines
678 B

//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================
#ifndef BASE_GAMESTATS_PARSE_H
#define BASE_GAMESTATS_PARSE_H
#ifdef _WIN32
#pragma once
#endif
enum CustomDataReturnCode
{
CUSTOMDATA_NONE = 0,
CUSTOMDATA_FAILED,
CUSTOMDATA_SUCCESS
};
class IMySQL;
struct ParseContext_t
{
char const *file;
char const *gamename;
bool describeonly;
IMySQL *mysql;
int skipcount;
bool bCustomDirectoryNotMade;
};
void ProcessPerfData( IMySQL *pSQL, time_t fileTime, char const *pGameName, char const *pPerfString );
#endif // BASE_GAMESTATS_PARSE_H