diff options
| author | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
|---|---|---|
| committer | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
| commit | 3bf9df6b2785fa6d951086978a3e66f49427166a (patch) | |
| tree | 2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /devtools/processgamestats/cs_gamestats.h | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'devtools/processgamestats/cs_gamestats.h')
| -rw-r--r-- | devtools/processgamestats/cs_gamestats.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/devtools/processgamestats/cs_gamestats.h b/devtools/processgamestats/cs_gamestats.h new file mode 100644 index 0000000..25fd1ef --- /dev/null +++ b/devtools/processgamestats/cs_gamestats.h @@ -0,0 +1,45 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: The cs game stats header +// +// $NoKeywords: $ +//=============================================================================// + +#define CS_STATS_BLOB_VERSION 3 + +extern const char *pValidStatLevels[]; + +#define CS_NUM_LEVELS 18 +#define WEAPON_MAX 34 + +int GetCSLevelIndex( const char *pLevelName ); + +typedef struct +{ + char szGameName[8]; + byte iVersion; + char szMapName[32]; + char ipAddr[4]; + short port; + int serverid; +} gamestats_header_t; + +typedef struct +{ + gamestats_header_t header; + short iMinutesPlayed; + + short iTerroristVictories[CS_NUM_LEVELS]; + short iCounterTVictories[CS_NUM_LEVELS]; + short iBlackMarketPurchases[WEAPON_MAX]; + + short iAutoBuyPurchases; + short iReBuyPurchases; + short iAutoBuyM4A1Purchases; + short iAutoBuyAK47Purchases; + short iAutoBuyFamasPurchases; + short iAutoBuyGalilPurchases; + short iAutoBuyVestHelmPurchases; + short iAutoBuyVestPurchases; + +} cs_gamestats_t; |