mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2024-11-23 20:38:07 +01:00
Comments
Explains what I could use to get steam's info. Its in plain http, could use a simple socket to read the json.
This commit is contained in:
parent
6b393fd8d0
commit
86fa3ab47a
1 changed files with 42 additions and 0 deletions
|
@ -9,6 +9,48 @@
|
||||||
|
|
||||||
#include "../dll/dll.h"
|
#include "../dll/dll.h"
|
||||||
|
|
||||||
|
// Get all steam appid with their name: http://api.steampowered.com/ISteamApps/GetAppList/v2/
|
||||||
|
// Steam storefront webapi: https://wiki.teamfortress.com/wiki/User:RJackson/StorefrontAPI
|
||||||
|
// http://api.steampowered.com/ISteamUserStats/GetSchemaForGame/v2/?key=27FB0BB1A97A95244C5E08B170A54F96&appid=218620
|
||||||
|
/*
|
||||||
|
{
|
||||||
|
"game" : {
|
||||||
|
"gameName" : "<name>",
|
||||||
|
"availableGameStats" : {
|
||||||
|
"achievements" : {
|
||||||
|
("<id>" : {
|
||||||
|
"name" : "achievement_name",
|
||||||
|
"displayName" : "achievement name on screen",
|
||||||
|
"hidden" : (0|1),
|
||||||
|
"description" : "<desc>",
|
||||||
|
"icon" : "<url to icon when achievement is earned>",
|
||||||
|
"icongray" : "<url to icon when achievement is not earned>"
|
||||||
|
},
|
||||||
|
...)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
// Get appid infos: http://store.steampowered.com/api/appdetails/?appids=218620
|
||||||
|
/*
|
||||||
|
"appid" : {
|
||||||
|
"success" : (true|false),
|
||||||
|
(success == true "data" : {
|
||||||
|
...
|
||||||
|
"name" : "<name>",
|
||||||
|
"steam_appid" : <appid>,
|
||||||
|
(OPT "dlc" : [<dlc id>, <dlc id>]),
|
||||||
|
"header_image" : "<miniature url>" <-- Use this in the overlay ?
|
||||||
|
(OPT "achievements" : {
|
||||||
|
"total" : <num of achievements>
|
||||||
|
}),
|
||||||
|
"background" : "<background url>" <-- Use this as the overlay background ?
|
||||||
|
(OPT "packages" : [<package id>, <package id>])
|
||||||
|
})
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
extern LRESULT ImGui_ImplWin32_WndProcHandler(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
|
extern LRESULT ImGui_ImplWin32_WndProcHandler(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
|
||||||
|
|
||||||
bool Steam_Overlay::IgnoreMsg(UINT uMsg)
|
bool Steam_Overlay::IgnoreMsg(UINT uMsg)
|
||||||
|
|
Loading…
Reference in a new issue