mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-22 14:16:50 +00:00
35 lines
678 B
C
35 lines
678 B
C
|
//========= 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
|