diff options
| author | George Hazan <george.hazan@gmail.com> | 2024-12-12 21:56:51 +0300 |
|---|---|---|
| committer | George Hazan <george.hazan@gmail.com> | 2024-12-12 21:56:51 +0300 |
| commit | e9a3b54db4aa8ffb6f97baabc2b676e3d9570bb1 (patch) | |
| tree | ff76b25d2c458630483fb57fc7383df10e8c0001 /protocols/Steam/src/api/friend.h | |
| parent | f1a5f02b05bae013e1c7773328b773565031b3c6 (diff) | |
more code cleaning
Diffstat (limited to 'protocols/Steam/src/api/friend.h')
| -rw-r--r-- | protocols/Steam/src/api/friend.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/protocols/Steam/src/api/friend.h b/protocols/Steam/src/api/friend.h index a86c2c98e4..31d5b185a6 100644 --- a/protocols/Steam/src/api/friend.h +++ b/protocols/Steam/src/api/friend.h @@ -1,13 +1,12 @@ #ifndef _STEAM_REQUEST_FRIEND_H_
#define _STEAM_REQUEST_FRIEND_H_
-class GetUserSummariesRequest : public HttpRequest
+struct GetUserSummariesRequest : public HttpRequest
{
-public:
- GetUserSummariesRequest(CSteamProto *ppro, const char *steamIds) :
+ GetUserSummariesRequest(const char *pszAccessToken, const char *steamIds) :
HttpRequest(REQUEST_GET, "/ISteamUserOAuth/GetUserSummaries/v0002")
{
- this << CHAR_PARAM("access_token", ppro->getMStringA("TokenSecret")) << CHAR_PARAM("steamids", steamIds);
+ this << CHAR_PARAM("access_token", pszAccessToken) << CHAR_PARAM("steamids", steamIds);
}
//{
|
