Team Fortress 2 Source Code as on 22/4/2020
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

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================
  6. #ifndef BASE_GAMESTATS_PARSE_H
  7. #define BASE_GAMESTATS_PARSE_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. enum CustomDataReturnCode
  12. {
  13. CUSTOMDATA_NONE = 0,
  14. CUSTOMDATA_FAILED,
  15. CUSTOMDATA_SUCCESS
  16. };
  17. class IMySQL;
  18. struct ParseContext_t
  19. {
  20. char const *file;
  21. char const *gamename;
  22. bool describeonly;
  23. IMySQL *mysql;
  24. int skipcount;
  25. bool bCustomDirectoryNotMade;
  26. };
  27. void ProcessPerfData( IMySQL *pSQL, time_t fileTime, char const *pGameName, char const *pPerfString );
  28. #endif // BASE_GAMESTATS_PARSE_H