(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::vector<std::string> 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<std::string> 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}");