From 4f1e01a750c88716c321fd8b31d0238f8d05e15d Mon Sep 17 00:00:00 2001 From: a Date: Sat, 11 Nov 2023 04:33:49 +0200 Subject: [PATCH] (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 --- generate_interfaces_file.cpp | 58 +++++++++++++++++++++--------------- 1 file changed, 34 insertions(+), 24 deletions(-) diff --git a/generate_interfaces_file.cpp b/generate_interfaces_file.cpp index e2e03645..d97e9c98 100644 --- a/generate_interfaces_file.cpp +++ b/generate_interfaces_file.cpp @@ -40,30 +40,40 @@ int main (int argc, char *argv[]) } std::ofstream out_file("steam_interfaces.txt"); - std::vector interface_names = {"SteamClient", - "SteamGameServer", - "SteamGameServerStats", - "SteamUser", - "SteamFriends", - "SteamUtils", - "SteamMatchMaking", - "SteamMatchMakingServers", - "STEAMUSERSTATS_INTERFACE_VERSION", - "STEAMAPPS_INTERFACE_VERSION", - "SteamNetworking", - "STEAMREMOTESTORAGE_INTERFACE_VERSION", - "STEAMSCREENSHOTS_INTERFACE_VERSION", - "STEAMHTTP_INTERFACE_VERSION", - "STEAMUNIFIEDMESSAGES_INTERFACE_VERSION", - "STEAMUGC_INTERFACE_VERSION", - "STEAMAPPLIST_INTERFACE_VERSION", - "STEAMMUSIC_INTERFACE_VERSION", - "STEAMMUSICREMOTE_INTERFACE_VERSION", - "STEAMHTMLSURFACE_INTERFACE_VERSION_", - "STEAMINVENTORY_INTERFACE_V", - "SteamController", - "SteamMasterServerUpdater", - "STEAMVIDEO_INTERFACE_V"}; + std::vector interface_names = { + "SteamClient", + "SteamGameServer", + "SteamGameServerStats", + "SteamUser", + "SteamFriends", + "SteamUtils", + "SteamMatchMaking", + "SteamMatchMakingServers", + "STEAMUSERSTATS_INTERFACE_VERSION", + "STEAMAPPS_INTERFACE_VERSION", + "SteamNetworking", + "STEAMREMOTESTORAGE_INTERFACE_VERSION", + "STEAMSCREENSHOTS_INTERFACE_VERSION", + "STEAMHTTP_INTERFACE_VERSION", + "STEAMUNIFIEDMESSAGES_INTERFACE_VERSION", + "SteamController", + "STEAMUGC_INTERFACE_VERSION", + "STEAMAPPLIST_INTERFACE_VERSION", + "STEAMMUSIC_INTERFACE_VERSION", + "STEAMMUSICREMOTE_INTERFACE_VERSION", + "STEAMHTMLSURFACE_INTERFACE_VERSION_", + "STEAMINVENTORY_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) { findinterface(out_file, steam_api_contents, name + "\\d{3}");