(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,7 +40,8 @@ int main (int argc, char *argv[])
}
std::ofstream out_file("steam_interfaces.txt");
std::vector<std::string> interface_names = {"SteamClient",
std::vector<std::string> interface_names = {
"SteamClient",
"SteamGameServer",
"SteamGameServerStats",
"SteamUser",
@ -55,15 +56,24 @@ int main (int argc, char *argv[])
"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",
"SteamController",
"STEAMVIDEO_INTERFACE_V",
"SteamMasterServerUpdater",
"STEAMVIDEO_INTERFACE_V"};
"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}");