From 02260169dc542a2134438ec5d24eda2eb146d486 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 27 Dec 2024 19:22:39 +0300 Subject: Steam: - fixes offline / missing messages fetching; - two HTTP queries removed and replaced with new API calls --- protocols/Steam/src/api/app_info.h | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 protocols/Steam/src/api/app_info.h (limited to 'protocols/Steam/src/api/app_info.h') diff --git a/protocols/Steam/src/api/app_info.h b/protocols/Steam/src/api/app_info.h deleted file mode 100644 index d8a187d444..0000000000 --- a/protocols/Steam/src/api/app_info.h +++ /dev/null @@ -1,25 +0,0 @@ -#ifndef _STEAM_REQUEST_APP_INFO_H_ -#define _STEAM_REQUEST_APP_INFO_H_ - -struct GetAppInfoRequest : public HttpRequest -{ - GetAppInfoRequest(const char *token, uint32_t appId) : - HttpRequest(REQUEST_GET, "/ISteamGameOAuth/GetAppInfo/v0001") - { - this << CHAR_PARAM("access_token", token) << INT_PARAM("appIds", appId); - } - - //{ - // "apps": [ - // { - // "appid": 271590, - // "name" : "Grand Theft Auto V", - // "iconurl" : "https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/271590/1e72f87eb927fa1485e68aefaff23c7fd7178251.jpg", - // "logourl" : "https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/271590/e447e82f8b0c67f9e001498503c62f2a187bc609.jpg", - // "logosmallurl" : "https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/271590/e447e82f8b0c67f9e001498503c62f2a187bc609_thumb.jpg" - // } - // ] - //} -}; - -#endif //_STEAM_REQUEST_APP_INFO_H_ -- cgit v1.2.3