(RIN forum) added more interfaces to look for in the original steam_api by alex47exe from https://cs.rin.ru/forum/viewtopic.php?p=2935557#p2935557

* + format generate_interfaces_file.cpp
This commit is contained in:
a 2023-11-11 04:33:49 +02:00
parent 62a92e5bf6
commit 4f1e01a750

View File

@ -40,30 +40,40 @@ int main (int argc, char *argv[])
} }
std::ofstream out_file("steam_interfaces.txt"); std::ofstream out_file("steam_interfaces.txt");
std::vector<std::string> interface_names = {"SteamClient", std::vector<std::string> interface_names = {
"SteamGameServer", "SteamClient",
"SteamGameServerStats", "SteamGameServer",
"SteamUser", "SteamGameServerStats",
"SteamFriends", "SteamUser",
"SteamUtils", "SteamFriends",
"SteamMatchMaking", "SteamUtils",
"SteamMatchMakingServers", "SteamMatchMaking",
"STEAMUSERSTATS_INTERFACE_VERSION", "SteamMatchMakingServers",
"STEAMAPPS_INTERFACE_VERSION", "STEAMUSERSTATS_INTERFACE_VERSION",
"SteamNetworking", "STEAMAPPS_INTERFACE_VERSION",
"STEAMREMOTESTORAGE_INTERFACE_VERSION", "SteamNetworking",
"STEAMSCREENSHOTS_INTERFACE_VERSION", "STEAMREMOTESTORAGE_INTERFACE_VERSION",
"STEAMHTTP_INTERFACE_VERSION", "STEAMSCREENSHOTS_INTERFACE_VERSION",
"STEAMUNIFIEDMESSAGES_INTERFACE_VERSION", "STEAMHTTP_INTERFACE_VERSION",
"STEAMUGC_INTERFACE_VERSION", "STEAMUNIFIEDMESSAGES_INTERFACE_VERSION",
"STEAMAPPLIST_INTERFACE_VERSION", "SteamController",
"STEAMMUSIC_INTERFACE_VERSION", "STEAMUGC_INTERFACE_VERSION",
"STEAMMUSICREMOTE_INTERFACE_VERSION", "STEAMAPPLIST_INTERFACE_VERSION",
"STEAMHTMLSURFACE_INTERFACE_VERSION_", "STEAMMUSIC_INTERFACE_VERSION",
"STEAMINVENTORY_INTERFACE_V", "STEAMMUSICREMOTE_INTERFACE_VERSION",
"SteamController", "STEAMHTMLSURFACE_INTERFACE_VERSION_",
"SteamMasterServerUpdater", "STEAMINVENTORY_INTERFACE_V",
"STEAMVIDEO_INTERFACE_V"}; "STEAMVIDEO_INTERFACE_V",
"SteamMasterServerUpdater",
"STEAMPARENTALSETTINGS_INTERFACE_VERSION",
"STEAMREMOTEPLAY_INTERFACE_VERSION",
"STEAMTV_INTERFACE_V",
"SteamInput",
"SteamMatchGameSearch",
"SteamNetworkingSockets",
"SteamNetworkingUtils",
"SteamParties",
};
for (auto name : interface_names) { for (auto name : interface_names) {
findinterface(out_file, steam_api_contents, name + "\\d{3}"); findinterface(out_file, steam_api_contents, name + "\\d{3}");