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.

29 lines
630 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================
  6. #ifndef URLRETRIEVETHREAD_H
  7. #define URLRETRIEVETHREAD_H
  8. #include "KeyValues.h"
  9. #include "cs_weapon_parse.h"
  10. bool BlackMarket_DownloadPrices( void );
  11. #define MED_BUFFER_SIZE 1024
  12. #define SMALL_BUFFER_SIZE 255
  13. #define MAX_DNS_NAME 255
  14. #define PRICE_BLOB_VERSION 1
  15. #define PRICE_BLOB_NAME "weeklyprices.dat"
  16. struct weeklyprice_t
  17. {
  18. short iVersion;
  19. short iPreviousPrice[WEAPON_MAX];
  20. short iCurrentPrice[WEAPON_MAX];
  21. };
  22. #endif // URLRETRIEVETHREAD_H