From 01c636ddb87c1551f6287dc9c4b2f8c6faab4c7a Mon Sep 17 00:00:00 2001 From: Paul Gofman Date: Wed, 27 Nov 2024 12:37:47 -0600 Subject: [PATCH] lsteamclient: Make SteamMatchMakingServers::ReleaseRequest() manual. CW-Bug-Id: #24528 --- ...SteamMatchmakingServers_SteamMatchMakingServers002.cpp | 8 -------- lsteamclient/gen_wrapper.py | 2 +- lsteamclient/unix_steam_networking_manual.cpp | 8 ++++++++ 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/lsteamclient/cppISteamMatchmakingServers_SteamMatchMakingServers002.cpp b/lsteamclient/cppISteamMatchmakingServers_SteamMatchMakingServers002.cpp index 336bcd49..81b1d2b3 100644 --- a/lsteamclient/cppISteamMatchmakingServers_SteamMatchMakingServers002.cpp +++ b/lsteamclient/cppISteamMatchmakingServers_SteamMatchMakingServers002.cpp @@ -5,14 +5,6 @@ #pragma makedep unix #endif -NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers002_ReleaseRequest( void *args ) -{ - struct ISteamMatchmakingServers_SteamMatchMakingServers002_ReleaseRequest_params *params = (struct ISteamMatchmakingServers_SteamMatchMakingServers002_ReleaseRequest_params *)args; - struct u_ISteamMatchmakingServers_SteamMatchMakingServers002 *iface = (struct u_ISteamMatchmakingServers_SteamMatchMakingServers002 *)params->linux_side; - iface->ReleaseRequest( params->hServerListRequest ); - return 0; -} - NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers002_GetServerDetails( void *args ) { struct ISteamMatchmakingServers_SteamMatchMakingServers002_GetServerDetails_params *params = (struct ISteamMatchmakingServers_SteamMatchMakingServers002_GetServerDetails_params *)args; diff --git a/lsteamclient/gen_wrapper.py b/lsteamclient/gen_wrapper.py index cede1906..26f1baaa 100755 --- a/lsteamclient/gen_wrapper.py +++ b/lsteamclient/gen_wrapper.py @@ -235,7 +235,7 @@ MANUAL_METHODS = { "ISteamMatchmakingServers_PingServer": lambda ver, abi: abi == 'u', "ISteamMatchmakingServers_PlayerDetails": lambda ver, abi: abi == 'u', - "ISteamMatchmakingServers_ReleaseRequest": lambda ver, abi: abi == 'w', + "ISteamMatchmakingServers_ReleaseRequest": lambda ver, abi: abi == 'w' or abi == 'u', "ISteamMatchmakingServers_RequestFavoritesServerList": lambda ver, abi: abi == 'u', "ISteamMatchmakingServers_RequestFriendsServerList": lambda ver, abi: abi == 'u', "ISteamMatchmakingServers_RequestHistoryServerList": lambda ver, abi: abi == 'u', diff --git a/lsteamclient/unix_steam_networking_manual.cpp b/lsteamclient/unix_steam_networking_manual.cpp index 9be8ebb5..3c10db17 100644 --- a/lsteamclient/unix_steam_networking_manual.cpp +++ b/lsteamclient/unix_steam_networking_manual.cpp @@ -961,6 +961,14 @@ NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers002_ServerRules( void * return 0; } +NTSTATUS ISteamMatchmakingServers_SteamMatchMakingServers002_ReleaseRequest( void *args ) +{ + struct ISteamMatchmakingServers_SteamMatchMakingServers002_ReleaseRequest_params *params = (struct ISteamMatchmakingServers_SteamMatchMakingServers002_ReleaseRequest_params *)args; + struct u_ISteamMatchmakingServers_SteamMatchMakingServers002 *iface = (struct u_ISteamMatchmakingServers_SteamMatchMakingServers002 *)params->linux_side; + iface->ReleaseRequest( params->hServerListRequest ); + return 0; +} + NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2PCustomSignaling( void *args ) { struct ISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2PCustomSignaling_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets006_ConnectP2PCustomSignaling_params *)args;